From 51733d2fceadc3b40c3146d687a84fda4045b066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 5 Jul 2022 07:50:08 +0200 Subject: [PATCH] docs: further clarification #300 --- exampleSite/content/basics/migration/_index.en.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index a81b3b982f..c38c70607f 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -16,12 +16,13 @@ This document shows you what's new in the latest release. For a detailed list of ## 5.0.0 -- **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. +- **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. - Nevertheless, it is recommended to adapt your existing files to the new way. + Nevertheless, it is recommended to adapt your existing markdown files to the new way as follows: - - for your home page, add the frontmatter parameter `archetype = "home"` - - for all files having the old deprecated frontmatter parameter `chapter = true`, replace it with `archetype = "chapter"` + - for your home page, add the frontmatter parameter `archetype = "home"` and remove the leading heading + + - for all files containing the deprecated frontmatter parameter `chapter = true`, replace it with `archetype = "chapter"` and remove the leading headings - **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.