Repository navigation
feat(seo): distinct OG cards per note/case study + article meta - #52
Closed
adamshatzkamer wants to merge 1 commit into
Closed
adamshatzkamer wants to merge 1 commit into
adamshatzkamer wants to merge 1 commit into
Conversation
Each note and case study card now shows the page's own diagram or screenshot in a right-hand visual panel with a FIG/PREVIEW label, the eyebrow keeps NOTE / CASE STUDY, and a reading-time line (N MIN READ) is added under the headline. Index and homepage cards are unchanged. Also adds article:published_time, article:author and article:tag meta to all 13 note/case-study pages, mirroring the JSON-LD dates and keywords already on those pages. Closes sdonche#46
Owner
|
Thanks, but this is a personal site and I'm not accepting unsolicited or automated pull requests. Closing. Generated by Claude Code |
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.
Closes #46
Every note and case study currently shares the same text-only OG card, so link previews on LinkedIn all look alike. This PR gives each page a card with its own visual and adds the article metadata that makes them richer.
Cards (all 13 note + case-study pages):
ignition-amqp, the chocolate plant P&ID forplant-hmi, the scheduling Gantt formqtt-sparkplug-b— with a smallFIG/PREVIEWlabelwordCountNOTE/CASE STUDYeyebrow label kept and made consistentMeta:
article:published_time,article:author,article:tagadded to all 13 article pages, mirroring thedatePublished/keywordsalready present in each page's JSON-LDVerification:
python3 tools/generate-og-card.pyregenerated the 13 article cards; generator stays deterministic on the same Pillow versionpython3 scripts/check-seo.py→ 18 pages OKpython3 scripts/check-skills.py→ OKThe generator now accepts
--articles slug1 slug2so a single card can be regenerated without touching the rest.