cleanup include shortcode docs

This commit is contained in:
Robert Kaussow 2022-01-10 23:39:30 +01:00
parent 8b10c81053
commit 9192ade60b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -87,7 +87,7 @@ In some situations, it can be helpful to include Markdown files that also contai
1. First you need to create a directory **within** your content directory. For this example site `_includes` is used.
2. Place your Markdown files within the `_includes` folder e.g. `/_includes/include-page.md`. Make sure to name it `*.md`.
3. Include the page using `{{</* include file="/_includes/include-page.md" */>}}`.
3. Include the page using `{{</* include file="/_includes/include-page.md" type="page" */>}}`.
Resulting structure should look like this:
@ -97,11 +97,4 @@ _includes/
└── _index.md
```
Specify the page include:
<!-- prettier-ignore -->
```tpl
{{</* include file="/_includes/include-page.md" type="page" */>}}
```
{{< include file="/_includes/include-page.md" type="page" >}}