Skip to content

Allow configuration of og:image in Layout - #3864

Open
SriHV wants to merge 5 commits into
mainfrom
change-ogimage-url-from-fixed-to-dynamic
Open

Allow configuration of og:image in Layout#3864
SriHV wants to merge 5 commits into
mainfrom
change-ogimage-url-from-fixed-to-dynamic

Conversation

@SriHV

@SriHV SriHV commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

See [Link to Jira issue]

ONSDESYS-852

This PR introduces dynamic handling of Open Graph (og:image) metadata in the _template.njk file. The og_img object now dynamically sets the url, width, and height properties if provided in the page configuration. A default fallback image is used when og_img.url is not specified.

How to review

Check that new example displayed without any errors

Checklist

  • I have linked the Issue
  • I have selected the Assignee
  • I have suggested an excellent Title for our release notes

@SriHV
SriHV requested a review from a team as a code owner June 23, 2026 15:41
@SriHV SriHV self-assigned this Jun 23, 2026
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jun 25, 2026 1:31pm

@SriHV SriHV added the Enhancement Change of existing feature label Jun 23, 2026
@sveltifier
sveltifier requested a review from a team June 25, 2026 12:21
@sveltifier sveltifier changed the title Make og:image dynamic in _template.njk Allow configuration of og:image in Layout Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Change of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants