mirror of
https://github.com/lektor/lektor-website.git
synced 2025-02-13 03:10:38 +01:00
Fixed a mistake in code snippet
Fixed a mistake in the Fully Automatic Navigation example
This commit is contained in:
parent
a572dbd954
commit
9abc4475d5
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user