parent
46781c7c7b
commit
b31c93acf6
@ -135,10 +135,10 @@ something like the following:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
4. Make sure to exclude the blog articles from your page navigation. You can
|
4. Make sure to exclude blog articles from your page navigation. You can achieve
|
||||||
achieve this by adding `{% if not page starts with "blog/" %}...{% endif %}`
|
this by adding `{% if not (page.id starts with "blog/") %}...{% endif %}`
|
||||||
to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your
|
to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your
|
||||||
themes `index.twig`.
|
theme's `index.twig`.
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user