From f4d6ffeaac3ef6be7d2df0ec2c568cf0673751e5 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 21 Jul 2013 00:12:31 +0200 Subject: [PATCH] Include an HTML file in Templates docs so as not to confuse - we don't automatically markdownify/textilize includes. Fixes #1303. --- site/docs/templates.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/docs/templates.md b/site/docs/templates.md index b1152c3b..bf70932d 100644 --- a/site/docs/templates.md +++ b/site/docs/templates.md @@ -185,17 +185,17 @@ If you have small page fragments that you wish to include in multiple places on your site, you can use the `include` tag. {% highlight ruby %} -{% raw %}{% include sig.md %}{% endraw %} +{% raw %}{% include footer.html %}{% endraw %} {% endhighlight %} Jekyll expects all include files to be placed in an `_includes` directory at the root of your source directory. This will embed the contents of -`/_includes/sig.md` into the calling file. +`/_includes/footer.html` into the calling file. You can also pass parameters to an include: {% highlight ruby %} -{% raw %}{% include sig.textile param="value" %}{% endraw %} +{% raw %}{% include footer.html param="value" %}{% endraw %} {% endhighlight %} These parameters are available via Liquid in the include: