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" >}}