Merge pull request #135 from elJorno/patch-2

Fixed a mistake in code snippet
This commit is contained in:
David Baumgold 2016-12-17 08:41:59 -05:00 committed by GitHub
commit f5dd02511c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ a page. This is easy to accomplish as well:
```html+jinja
<nav>
<ul class="nav">
{% for project in site.get('/projects') %}
{% for project in site.get('/projects').children %}
<li{% if this == project %} class="active"{% endif
%}><a href="{{ project|url }}">{{ project.name }}</a></li>
{% endfor %}