Commit graph

8 commits

Author SHA1 Message Date
64ae30b545 feat(seo): sitemap, robots, canonical URLs, OG images and JSON-LD
- Add sitemap.ts and robots.ts
- pageMetadata() helper: consistent title, canonical URL, Open Graph,
  Twitter card and feed alternate on every page
- Generated OG images: a site card, and per post either the cover image
  or a branded title card (pre-rendered at build)
- BlogPosting JSON-LD on post pages
- Fail fast with a clear error when SITE_URL is missing

Content loading:
- Validate post frontmatter at build time and normalize dates to ISO
  (fixes invalid <time datetime> values)
- Add draft: true support (drafts only render in development)
- Cache markdown rendering so metadata and page share one render
- Replace the three copy-pasted about/projects/setup pages with a shared
  MarkdownPage component
2026-10-19 14:22:40 +02:00
4301e50ab3 fix: tag/category routes, recently updated list, feed and no-js flash
- Slugify tag/category static params so pre-rendered pages match links;
  disable dynamic params and return a real 404 via notFound()
- Drop bogus generateStaticParams from the tags/categories index pages
- Add a styled not-found page
- Sort 'Recently updated' by last modification before slicing
- Atom feed: correct rel=self URL, use updated dates, valid content type
- Swap no-js -> js class in an inline head script before first paint
- Markdown links: only route internal paths through next/link and
  tolerate missing hrefs
2026-10-19 14:15:57 +02:00
HangerThem
40b0fb8e08 Try and fix the og image pointing to localhost 2026-08-03 16:13:02 +02:00
HangerThem
1f6b769ea4 Added full SSG/Static support 2026-08-03 15:41:20 +02:00
HangerThem
b1de88f998 Fixed few formatting things; started on support for mobile/PWA 2026-08-03 15:11:10 +02:00
722ace7c74 Just a buch of stuff 2026-08-02 22:39:12 +02:00
231bdfc079 Forgor to publish a bit 2026-08-02 17:49:15 +02:00
66d0efa399 Basi implementation for blog style rendering 2026-07-27 16:39:20 +02:00