Blog Platform Template

> Experimental template: The blog assets are still being tuned for alpha preview flows. Re-run the export commands before any external demo.

A content-focused starter that demonstrates posts, authors, categories, comments, and tags with progressive ownership defaults.

Refresh / Export

pnpm eval:autopilot -- --scenario blog-platform
pnpm tsx scripts/templates/enrich-blog-template.ts --bundle eval-output/blog-platform.bundle.json
pnpm template:export blog-platform --force

Using the Template

  • Visit /templates and pick Blog Platform.
  • Review the summary + commands, then apply the template.
  • After hydration the chat auto-opens the code panel; inspect app/(blog) scaffolds and components/blog/**.
  • Extend or regenerate safely—ownership marks domain logic + components as extended/ejected where necessary.
  • Template Contents

  • Routesapp/(blog)/layout.tsx, app/(blog)/page.tsx, dynamic app/(blog)/posts/[slug]/page.tsx, and app/(blog)/admin/comments/page.tsx.
  • Componentscomponents/blog/{Hero,PostCard,FeaturedGrid,PostList,PostPage,Sidebar,SiteShell}.tsx plus entity-specific CRUD screens in components/entities/**.
  • Server logic – opinionated actions in lib/server/actions/** (review draft, schedule post, moderate comments) and notifications/auth capability hints.
  • Domain helpers – mocked data + utility helpers in lib/blog/sample-data.ts so previews render realistic content immediately.
  • Ownershipweldr.ownership.yaml keeps components/blog/ and lib/server/api/blog/ extended while guarding shared automation, ensuring fresh chats show the correct badges without manual toggles.
  • Demo Notes

  • • Highlight the blog landing + detail routes first (app/(blog)/page.tsx, app/(blog)/posts/[slug]/page.tsx), then jump into the moderation dashboard to show admin-only surfaces.
  • • Show how the manifest keeps blog-specific components editable while protecting shared scaffolds, e.g., badges on components/blog/PostCard.tsx vs. managed files.
  • • Re-export before major demos to refresh timestamps/bundle contents so /templates shows the latest metadata and ?fromTemplate=blog-platform banner. Remember to copy templates/blog-platform-assets/weldr.ownership.yaml over the exported version after pnpm template:export blog-platform --force.