Skip to content

Conversation

@mattstratton
Copy link
Owner

@mattstratton mattstratton commented May 23, 2025

Summary

  • Adds a new [params] social_image parameter to the site config, used as the default Open Graph/Twitter sharing image for any page that does not have images set in its frontmatter (including the homepage).
  • Updates all archetypes to include an images field for social sharing, ensuring new content types are set up for best practices.
  • Updates documentation in REFERENCE.md to describe the new parameter and its usage.
  • Updates the SEO partial to use this fallback logic for all pages.

Testing Steps

  • Set social_image in your site params and verify it appears as the sharing image for pages without a specific images frontmatter value (e.g., About, homepage).
  • Confirm that pages with images in frontmatter still use their own image.

Context

Fixes #172
Fixes #187


🤖 This was generated by a bot. If you have questions, please contact the maintainers.

@mattstratton mattstratton merged commit a8e0fc8 into v2 May 23, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants