Statiq.Web
Statiq.Web copied to clipboard
Question: Include example
Do you have examples of the different shortcodes?
I'll like to use the include
to create a Table of Contents, once, and use it in other posts.
I created another markdown file toc.md
and put it in another directory inputs/includes
.
Added the following to my post:
<?# Include "./../includes/posts/toc.md" /?>
But when built the site it added it as raw text not markdown.
Is there another attribute I need to set?