Files
bbeandClaude Opus 5.5 f0a59c33a3 feat: server-render public pages for crawlers
Event and blog detail pages, the homepage and the community and contact
pages now ship their real content in the server HTML instead of loading
it in the browser, so crawlers see events, posts and deep links.

- Event detail renders fully on the server (ISR, 5 minutes); missing
  events return 404. Only the upcoming-events carousel stays client side.
- Blog posts render title, author, date, image and the markdown body on
  the server. The backend fills the body of indexed posts from the Nostr
  event cache. Likes, replies and the profile avatar stay client islands,
  and unresolved slugs keep the in-browser relay fallback. Markdown
  headings shift down one level so the title is the only h1.
- Homepage is a server component with real links to upcoming meetups
  and a new "Latest from the blog" section.
- Social links come from server-fetched settings, with SOCIAL_LINKS as a
  fallback, so no card links to "#" and sameAs lists every profile.
- One pageMetadata helper sets title, canonical, og and twitter tags.
  Section layouts keep the site-name title template alive for nested
  pages, and toMetaDescription cleans event and post descriptions.
- Sitemap: static pages drop lastModified, /board is added, only
  published meetups are listed, and it revalidates hourly.
- Server-side API calls go to the backend on loopback, and the deploy
  script points build-time prerendering at it.
- scripts/seo-check.mjs (npm run seo-check) verifies all of the above.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:05:29 +02:00
..