diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2022-01-11 01:39:30 +0300 |
---|---|---|
committer | Robert Kaussow <mail@thegeeklab.de> | 2022-01-11 01:39:30 +0300 |
commit | 9192ade60b69ac0e4cfce96f9dc497dcbe98fd22 (patch) | |
tree | e30b87fb40cf210ee3712dd80cf1051d3c775860 /exampleSite | |
parent | 8b10c81053687b9e855af0f650956d694ce18c24 (diff) |
cleanup include shortcode docs
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/posts/advanced/includes.md | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/exampleSite/content/posts/advanced/includes.md b/exampleSite/content/posts/advanced/includes.md index 9801b7d..c4e5cd8 100644 --- a/exampleSite/content/posts/advanced/includes.md +++ b/exampleSite/content/posts/advanced/includes.md @@ -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" >}} |