mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-14 15:53:31 +00:00
512 B
512 B
+++ description = "Displays content from other markdown files" title = "Include" +++
The include shortcode includes other files from your project inside of the current file. This can even contain markdown and will be taken into account when generating the table of contents.
Usage
{{%/* include "<file>" */%}}
Examples
Arbitray content
{{% include "shortcodes/INCLUDE_ME.md" %}}
{{% expand "Show markup" %}}
{{%/* include "shortcodes/INCLUDE_ME.md" */%}}
{{% /expand %}}