mirror of
https://github.com/getzola/zola
synced 2024-12-14 14:22:28 +00:00
Adjust whitespace in expression delimiters (#1610)
Consistent whitespace makes the constructs easier to recognize.
This commit is contained in:
parent
7af662c862
commit
4c4fad2cfb
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ Here is an example of using that field to render a two-level table of contents:
|
||||||
<ul>
|
<ul>
|
||||||
{% for h1 in page.toc %}
|
{% for h1 in page.toc %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{h1.permalink | safe}}">{{ h1.title }}</a>
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
||||||
{% if h1.children %}
|
{% if h1.children %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for h2 in h1.children %}
|
{% for h2 in h1.children %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{h2.permalink | safe}}">{{ h2.title }}</a>
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue