You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exampleSite/content/basics/migration/_index.en.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,13 @@ This document shows you what's new in the latest release. For a detailed list of
16
16
17
17
## 5.0.0
18
18
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.
20
20
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:
22
22
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
25
26
26
27
-**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.
0 commit comments