Merge pull request #235 from hitrust/patch-1

Update contents.lr
This commit is contained in:
Joseph Nix 2018-07-19 10:53:46 -05:00 committed by GitHub
commit 46b66bec2f
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>
```