Inline docs: Fix navigation loop example in Blogging section

pico-3.0-alpha
Daniel Rudolf 10 years ago
parent 9a7e53328d
commit 771bdacf71
  1. 4
      content-sample/index.md

@ -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…
Cancel
Save