papyrus

Back

Folder tags for nested posts

Content-model guide showing stable slugs with automatic tags from source folders.

This post lives in src/content/posts/guides/content-model/ to show how a nested source folder can add metadata without changing the public URL.

The public URL uses the explicit slug, so the route stays stable even if the file moves later. Because it is not hidden, it appears in the normal post list while still keeping a short public route.

The generated tags include:

  • astro from frontmatter
  • guides from the parent folder
  • content-model from the nested folder
site$ pnpm content:outline
site$ pnpm build
console

Part of Papyrus docs.