Make meta titles short - #5603
Open
sumitshinde-84 wants to merge 4 commits into
Open
Conversation
…copies package-lock.json picked up unrelated dependency-metadata churn from a local npm install; two blog posts were also accidentally duplicated under nuxt/content/blog/ instead of only living in src/blog/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ZJvandeWeg
reviewed
Aug 14, 2026
|
|
||
| Use it when the on-page `title` is written for readers (descriptive, sometimes long) but doesn't make a good search-result or tab title. When set, it renders as `{metaTitle} | FlowFuse` in both places; when omitted, the browser tab and share title fall back to `{title} • FlowFuse Blog`. | ||
|
|
||
| Keep `metaTitle` short and keyword-forward — it's for SEO/CTR in search results and social previews, not for readability on the page itself. |
ZJvandeWeg
reviewed
Aug 14, 2026
|
|
||
| <!-- Browser Title --> | ||
| {% if navTitle %} | ||
| {% if metaTitle %} |
Member
There was a problem hiding this comment.
@sumitshinde-84 If this is only for blogs, I don't know why you need to update base.njk. And it should all be rendered through Nuxt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This PR introduces a
metaTitlefield that allows us to override the browser tab title and Open Graph title independently of the on-page title (H1). This lets authors use a readable, descriptive page title while using a shorter, keyword-focused title for search engines and social sharing.We updated the meta title instead of the page title to avoid inconsistencies with the hero images and other places where the page title is displayed. By managing the meta title separately, we can optimize titles for SEO and social sharing without changing the visible page title or affecting existing imagery.
Related Issue(s)
Checklist