Inline docs: Fix navigation loop example in Blogging section
This commit is contained in:
parent
9a7e53328d
commit
771bdacf71
1 changed files with 2 additions and 2 deletions
|
@ -129,8 +129,8 @@ something like the following:
|
|||
```
|
||||
4. Make sure to exclude the blog articles from your page navigation. You can
|
||||
achieve this by adding `{% if not page starts with "blog/" %}...{% endif %}`
|
||||
to the navigation loop (`{% for page in pages|reverse %}...{% endfor %}`)
|
||||
in your themes `index.twig`.
|
||||
to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your
|
||||
themes `index.twig`.
|
||||
|
||||
## Customization
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue