]>
juplo.de Git - website/commit
Step 9/11: RSS-Feeds, SEO-Meta-Tags, shared helpers in lib/posts.ts
RSS-Feeds (Step 9):
- /blog/index.xml — Blog-Gesamt-Feed
- /blog/archive/index.xml — Archiv-Feed
- /blog/archive/YYYY/index.xml — Jahres-Feeds (dynamisch)
- /categories/TERM/index.xml — Kategorie-Feeds (dynamisch)
- /tags/TERM/index.xml — Tag-Feeds (dynamisch)
SEO-Meta-Tags (Step 9):
- BaseLayout: description-Prop, <meta name="description">, og:title,
og:description, og:type, og:url
- [slug].astro: übergibt getSummary(post.body) als description
Shared Helpers (Step 11 Refactoring):
- src/lib/posts.ts: getAllPosts(), postUrl(), getSummary(), wordCount()
- Alle Seiten importieren diese Helpers statt lokale Kopien zu haben
- BlogNav, [slug], blog/index, archive/index, [year], categories/[term],
tags/[term], index.astro migriert
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 files changed: