Commit 1d2fe2e
seo: prefer per-page metaDescription for meta description tags
~2092 pages set a page-specific metaDescription frontmatter field that
HeadSEO.astro ignored, so almost every page shipped the generic site
tagline as its meta/og/twitter description. Extend the fallback chain to
content.description || content.metaDescription || t('site.description')
for both the description/og:description and twitter:description tags.
This mirrors the description source already used by the JSON-LD in this PR.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c40abcb commit 1d2fe2e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments