Update contents.lr

Close <li> tags
This commit is contained in:
hitrust 2018-07-18 16:38:06 +08:00 committed by GitHub
parent b14b5fad89
commit bef77c9990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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>
```