Template support for OpenGraph/Twitter preview metadata in generated Slugkit sites #219
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Slugkit-compatible generated sites need first-class support for rich link previews. The slugkit.com site exposed the gap: published article pages rendered content correctly, but Mastodon did not show a proper preview because post detail pages lacked OpenGraph/Twitter card metadata.
Reference production article:
https://slugkit.com/posts/slug-cli-initMissing metadata included:
og:titleog:descriptionog:urlog:typeog:imagetwitter:cardExpected
The Slugkit template/framework should make it straightforward for generated sites to emit correct social preview metadata for post/article detail pages.
Scope
<head>metadata.Acceptance criteria
og:title,og:description,og:url,og:type, and image metadata where available.summary_large_imagefor image-backed posts.Synced from todu comment by @todu on 2026-06-28T12:39:59.227Z
Closing summary
main.mainis aligned withorigin/mainat merge commitc0ade04.Acceptance criteria verified:
summary_large_imagefor image-backed posts.Closing task as done.
Synced from todu comment by @todu on 2026-06-28T12:39:28.802Z
Review update
Acceptance criteria: 6/6 met. Blocking issues: 0. Warnings: 0.