mirror of
https://github.com/lektor/lektor-website.git
synced 2025-02-22 07:00:38 +01:00
Update contents.lr
Close <li> tags
This commit is contained in:
parent
b14b5fad89
commit
bef77c9990
@ -29,6 +29,7 @@ And the template could access it like this:
|
||||
{% for path, label in bag('main-nav').iteritems() %}
|
||||
<li{% if this.is_child_of(path) %} class="active"{% endif
|
||||
%}><a href="{{ path|url }}">{{ label }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user