diff --git a/mydoc/mydoc_content_reuse.md b/mydoc/mydoc_content_reuse.md index af55154..2d635fe 100644 --- a/mydoc/mydoc_content_reuse.md +++ b/mydoc/mydoc_content_reuse.md @@ -19,11 +19,13 @@ You can embed content from one file inside another using includes. Put the file With content in your \_includes folder, you don't add any frontmatter to these pages because they will be included on other pages already containing frontmatter. -Also, when you include a file, all of the file's contents get included. You can't specify that you only want a specific part of the file included. However, you can use parameters with includes. See [Jekyll's documentation](http://stackoverflow.com/questions/21976330/passing-parameters-to-inclusion-in-liquid-templates) for more information. +Also, when you include a file, all of the file's contents get included. You can't specify that you only want a specific part of the file included. However, you can use parameters with includes. See the following Jekyll cast for more info about using parameters with includes: + + ## Page-level variables -You can also create custom variables in your frontmatter like this: +You can also create custom variables in your frontmatter like this: {% raw %} ```yaml @@ -46,6 +48,4 @@ thing2: {{page.thing2}} {% endraw %} -I use includes all the time. Most of the includes in the \_includes directory are pulled into the theme layouts. For those includes that change, I put them inside custom and then inside a specific project folder. - - +I use includes all the time. Most of the includes in the \_includes directory are pulled into the theme layouts. For those includes that change, I put them inside custom and then inside a specific project folder.