Lego2012
1/22/2017 - 7:38 PM

Pass variable parameters to includes

Pass variable parameters to includes

<!-- 
Currently, the documentation for includes explains how to pass string parameters to includes, but gives no explanation of how to pass variable parameters to includes.

Specifically, the documentation says: 
-->

{% include footer.html param="value" %}

<!-- 
However, it doesn't explain that variables can be passed this way: 
-->

{% include footer.html param="value" variable-param=page.variable %}