Port Mastodon article preview fixes from slugkit.com #222
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#222
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.comneeded several fixes before Mastodon rendered article previews correctly. The core/templateslugkitproject should receive the same pattern so generated Slugkit sites do not repeat the issue.Reference implementation/workspace:
~/Private/code/forgejo/slugkit.com/Relevant final behavior from
slugkit.com:contentMap.enso Mastodon does not show an unwanted Translate control.attachment, because that makes Mastodon render a media gallery where clicking opens the image instead of the article.Scope
slugkit.comimplementation and port the appropriate template/core changes intoslugkit.contentMap.en.Acceptance criteria
og:title,og:description,og:url,og:type, andog:imagewhen an image is available.og:imageandtwitter:imageare absolute reachable URLs.twitter:cardusessummary_large_imagewhen an image exists andsummaryotherwise.contentMap.en.contentMap, and absence of article image attachment.Synced from todu comment by @todu on 2026-06-28T12:44:17.345Z
Closing summary
main.mainis aligned withorigin/mainat merge commit6730951.Acceptance criteria verified:
og:imageandtwitter:imageare absolute URLs.twitter:cardusessummary_large_imagewith images andsummarywithout images.contentMap.en.Closing task as done.
Synced from todu comment by @todu on 2026-06-28T12:43:38.126Z
Review update
Acceptance criteria: 8/8 met. Blocking issues: 0. Warnings: 0.