Skip to content

Commit 51733d2

Browse files
committed
docs: further clarification matcornic#300
1 parent 3c53b59 commit 51733d2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

exampleSite/content/basics/migration/_index.en.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ This document shows you what's new in the latest release. For a detailed list of
1616

1717
## 5.0.0
1818

19-
- **Change**: The way [archetypes]({{% relref "cont/archetypes" %}}) are used to generate output has changed. Your existing content files will still work like before and therefore you don't need to change anything after the upgrade.
19+
- **Change**: The way [archetypes]({{% relref "cont/archetypes" %}}) are used to generate output has changed. Your existing markdown files will still work like before and therefore you don't need to change anything after the upgrade.
2020

21-
Nevertheless, it is recommended to adapt your existing files to the new way.
21+
Nevertheless, it is recommended to adapt your existing markdown files to the new way as follows:
2222

23-
- for your home page, add the frontmatter parameter `archetype = "home"`
24-
- for all files having the old deprecated frontmatter parameter `chapter = true`, replace it with `archetype = "chapter"`
23+
- for your home page, add the frontmatter parameter `archetype = "home"` and remove the leading heading
24+
25+
- for all files containing the deprecated frontmatter parameter `chapter = true`, replace it with `archetype = "chapter"` and remove the leading headings
2526

2627
- **Change**: The frontmatter options `pre` / `post` were renamed to `menuPre` / `menuPost`. The old options will still be used if the new options aren't set. Therefore you don't need to change anything after the upgrade.
2728

0 commit comments

Comments
 (0)