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:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
title: Getting Started
|
||||
description: Install sukr and build your first site
|
||||
weight: 0
|
||||
---
|
||||
+++
|
||||
title = "Getting Started"
|
||||
description = "Install sukr and build your first site"
|
||||
weight = 0
|
||||
+++
|
||||
|
||||
This guide walks you through installing sukr and creating your first static site.
|
||||
|
||||
@@ -47,10 +47,10 @@ base_url = "https://example.com"
|
||||
Create `content/_index.md`:
|
||||
|
||||
```markdown
|
||||
---
|
||||
title: Welcome
|
||||
description: My awesome site
|
||||
---
|
||||
+++
|
||||
title = "Welcome"
|
||||
description = "My awesome site"
|
||||
+++
|
||||
|
||||
# Hello, World!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user