Skip to content

Show rich link previews for Fluentd blog articles on X, Slack and Facebook - #519

Merged
kenhys merged 1 commit into
fluent:masterfrom
Watson1978:add-ogp-meta-tags
Oct 6, 2026
Merged

kenhys merged 1 commit into
fluent:masterfrom
Watson1978:add-ogp-meta-tags

Conversation

@Watson1978

@Watson1978 Watson1978 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Blog article pages only had og:title and twitter:title, so shared links showed no summary or image. This adds Open Graph and X card tags to blog articles: a canonical URL with the trailing slash, a summary generated from the body, the date and tags, the Fluentd logo as the image, and <meta name="description">. Other pages keep only og:title and twitter:title as before.

With this change, X and other services show a card like the one below when a blog article URL is posted.

Link card for a blog article on X

The image is missing in this screenshot because it was taken on the deploy preview. og:image points to www.fluentd.org, which will have the image once this PR is deployed.

🤖 Generated with Claude Code

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fluentd-website ready!

Name Link
🔨 Latest commit b5b756e
🔍 Latest deploy log https://app.netlify.com/projects/fluentd-website/deploys/6ac4743fa5a0b800087b56be
😎 Deploy Preview https://deploy-preview-519--fluentd-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Blog articles get og:type article, a canonical og:url, a summary
generated from the body, their date and tags, and the Fluentd logo
as the card image. Other pages keep only og:title and twitter:title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 changed the title Show rich link previews for fluentd.org pages on X, Slack and Facebook Show rich link previews for Fluentd blog articles on X, Slack and Facebook Oct 6, 2026
@Watson1978
Watson1978 requested a review from kenhys October 6, 2026 04:29
@kenhys
kenhys merged commit 353114b into fluent:master Oct 6, 2026
6 checks passed
@Watson1978
Watson1978 deleted the add-ogp-meta-tags branch October 6, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants