edited documentation for include tag
This commit is contained in:
parent
10ee83d680
commit
412fe8b8de
|
@ -209,9 +209,7 @@ root of your source directory. This will embed the contents of
|
||||||
|
|
||||||
The name of the file you wish to embed can be literal (as in the example above),
|
The name of the file you wish to embed can be literal (as in the example above),
|
||||||
or you can use a variable, using liquid-like variable syntax as in
|
or you can use a variable, using liquid-like variable syntax as in
|
||||||
<code>{% raw %}{% include {{my_variable}} %}{% endraw %}</code>.
|
<code>{% raw %}{% include {{ my_variable }} %}{% endraw %}</code>.
|
||||||
|
|
||||||
Note that unlike usual liquid variable syntax, you cannot have spaces inside the curly braces.
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue