Inline docs: Fix navigation loop example in Blogging section
This commit is contained in:
parent
9a7e53328d
commit
771bdacf71
@ -129,8 +129,8 @@ something like the following:
|
|||||||
```
|
```
|
||||||
4. Make sure to exclude the blog articles from your page navigation. You can
|
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 %}`
|
achieve this by adding `{% if not page starts with "blog/" %}...{% endif %}`
|
||||||
to the navigation loop (`{% for page in pages|reverse %}...{% endfor %}`)
|
to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your
|
||||||
in your themes `index.twig`.
|
themes `index.twig`.
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user