From 8a741d82d8020cceb147a92a48dc37789886d226 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 10 Jan 2022 23:39:19 +0100 Subject: [PATCH] cleanup include shortcode docs --- exampleSite/content/shortcodes/includes.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/exampleSite/content/shortcodes/includes.md b/exampleSite/content/shortcodes/includes.md index 8ff734d..e7026dd 100644 --- a/exampleSite/content/shortcodes/includes.md +++ b/exampleSite/content/shortcodes/includes.md @@ -80,7 +80,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. To prevent the theme from embedding the page in the navigation, create a file `_includes/_index.md` and add `GeekdocHidden: true` to the front matter. 3. Place your Markdown files within the `_includes` folder e.g. `/_includes/include-page.md`. Make sure to name it `*.md`. -4. Include the page using `{{}}`. +4. Include the page using `{{}}`. Resulting structure should look like this: @@ -90,11 +90,4 @@ _includes/ └── _index.md ``` -Specify the page include: - - -```tpl -{{}} -``` - {{< include file="/_includes/include-page.md" type="page" >}}