docs: migrate content files to TOML frontmatter

Migrate all 17 docs/content/ files from --- YAML to +++ TOML
frontmatter delimiters and key = value syntax.

Update 8 embedded frontmatter examples in 7 documentation pages
to match (configuration, content-organization, getting-started,
security, sections, sitemap, feeds, templates).

Update configuration.md frontmatter reference table: add draft
and aliases fields, correct date type from string to date.
This commit is contained in:
Timothy DeHerrera
2026-02-14 06:57:55 -07:00
parent 16fed12273
commit 46c00c7729
18 changed files with 154 additions and 149 deletions

View File

@@ -1,8 +1,8 @@
---
title: Atom Feeds
description: Build-time feed generation for blog posts
weight: 6
---
+++
title = "Atom Feeds"
description = "Build-time feed generation for blog posts"
weight = 6
+++
sukr generates an Atom 1.0 feed for blog posts at build time.
@@ -29,7 +29,7 @@ The feed includes:
## Auto-generation
Feed generation happens automatically when any content exists in a section with `section_type: blog`. No configuration required.
Feed generation happens automatically when any content exists in a section with `section_type = "blog"`. No configuration required.
Posts are sorted by date (newest first), matching the blog section ordering.
@@ -50,11 +50,11 @@ Add a link in your `base.html` template:
Post dates in frontmatter should use `YYYY-MM-DD` format:
```yaml
---
title: My Post
date: 2024-01-15
---
```toml
+++
title = "My Post"
date = 2024-01-15
+++
```
The feed converts this to RFC 3339 format required by Atom.