Merge pull request #3581 from daviewales/patch-1
Merge pull request 3581
This commit is contained in:
commit
3a85aa0dac
|
@ -286,10 +286,10 @@ root of your source directory. This will embed the contents of
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
You can also pass parameters to an include:
|
You can also pass parameters to an include. Omit the quotation marks to send a variable's value. Liquid curly brackets should not be used here:
|
||||||
|
|
||||||
{% highlight ruby %}
|
{% highlight ruby %}
|
||||||
{% raw %}{% include footer.html param="value" %}{% endraw %}
|
{% raw %}{% include footer.html param="value" variable-param=page.variable %}{% endraw %}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
These parameters are available via Liquid in the include:
|
These parameters are available via Liquid in the include:
|
||||||
|
|
Loading…
Reference in New Issue