closing tags on urls page
This commit is contained in:
parent
1e7c0998a4
commit
72b1216fed
|
@ -27,8 +27,8 @@ Because the path starts with a slash it will be treated as absolute path:
|
||||||
|
|
||||||
```html+jinja
|
```html+jinja
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><a href="{{ '/'|url }}">Index</a>
|
<li><a href="{{ '/'|url }}">Index</a></li>
|
||||||
<li><a href="{{ '/about'|url }}">About</a>
|
<li><a href="{{ '/about'|url }}">About</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ link to all children of a page:
|
||||||
```html+jinja
|
```html+jinja
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
{% for page in this.children %}
|
{% for page in this.children %}
|
||||||
<li><a href="{{ page|url }}">{{ page.title }}</a>
|
<li><a href="{{ page|url }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue