Inline docs: Fix blogging tutorial

Fixes #338. Thank you @marctilman
This commit is contained in:
Daniel Rudolf 2016-03-24 17:41:26 +01:00
parent 46781c7c7b
commit b31c93acf6

View File

@ -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