Repository navigation
Add Open Graph + Twitter Card social preview image - #314
Open
astra-intelligence wants to merge 1 commit into
Open
astra-intelligence wants to merge 1 commit into
astra-intelligence wants to merge 1 commit into
Conversation
Add a 1200x630 og:image via the jekyll-theme-cayman head-custom.html hook
plus twitter:card=summary_large_image. The {% seo %} tag emits
og:title/description/url/site_name/type but no image, so every share of
this page renders a blank preview card.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This page (科学上网 / 左耳朵's circumvention guide, 13k★) currently has no og:image and no twitter:image — every share of the site renders a blank preview card. The
{% seo %}tag emits og:title/description/url/site_name/type but no image.This PR adds a proper 1200×630 social preview card via the theme's documented
_includes/head-custom.htmlhook:_includes/head-custom.html— emitsog:image(+ type/width/height) andtwitter:card=summary_large_image+twitter:image, absolute prod URLs (https://haoel.github.io/og-image.png).og-image.png— 1200×630 card matching the Cayman theme: light ground,#157878teal accent, CJK title 科学上网 + author 左耳朵 · coolshell.cn, section pills, domain chip.tools/make-og-image.py— Pillow-only generator, byte-reproducible from a clean dir (CJK via WenQuanYi Zen Hei).3 files, +99/-0. No layout or content changes.