Add og:type article + article:published_time
1 minute read
Every todo's PageMeta carries date, updated, and authors, but Meta.svelte:49 always sets og:type to website. None of the article-type signals are emitted, which is
the largest gap between what the data model promises and what reaches
crawlers.
Tasks
- Detect article-like pages (e.g. presence of
date+authors) and setog:type=article - Emit
article:published_timefromdate(ISO viapublicationDateToISO) - Emit
article:modified_timefromupdatedwhen set - Emit
article:authorfor each author (resolve via the authors map) - Optionally add a per-page
meta name="author"
Read next
