Urgent.News

What's breaking now, across thousands of outlets.

Tech

Multilingual Ghost CMS Blog: 2. Making 'More Posts' Multilingual

When you look at a post, you can see that even if it is an English post, the show_recent_posts section at the bottom displays all posts regardless of language. Let's fix this part. 0.0.2 · sanghunka/ghost-multilingual-theme@0e2b7a3: Multilingual show_recent_posts_footer Edit post.hbs {{# get "posts" filter = "id:-{{id}}" limit = "3" as | more_posts | }} {{#if more_posts }} <aside class=…

The article discusses a modification to the Ghost CMS multilingual theme to ensure that only posts with a specific language tag are displayed in the "show_recent_posts" section. The original code was edited to include conditional statements that check for the presence of specific language tags (#en and #ko) before retrieving and displaying the more recent posts. This change aims to provide a more targeted and relevant list of posts for users, based on their preferred language.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

What I Check Before Deploying a Website to Production

What I Check Before Deploying a Website to Production Deploying a website can feel like the finish line. The code works. The pages look right. The buttons respond. The tests are passing.

  • Check environment variables and sensitive credentials
  • Test production build closely resembling production environment
  • Verify database migrations and changes

I Built a Support Agent That Never Forgets

I Built a Support Agent That Never Forgets Every engineer knows the frustration of broken support systems. Customers repeat the same issue, agents dig through old tickets, and chatbots spit out…

  • Hindsight support agent retains information from previous interactions to address the problem.
  • System's modular design separates language processing, context management, and business logic.

A support bot that remembers: cross-channel history and escalation with Hindsight

Picture a customer with a billing problem. They start in chat and get a suggestion. A few days later they email, because the suggestion didn't work.

  • Bot remembers customer interactions across chat, email, and phone
  • Uses Hindsight, FastAPI, and Groq's language model for functionality
  • Escalates when three or more unresolved issues from same customer

More from Tuesday 29 September →