Browse Source

Inline docs: Fix navigation loop example in Blogging section

Daniel Rudolf 9 years ago
parent
commit
771bdacf71
1 changed files with 2 additions and 2 deletions
  1. 2 2
      content-sample/index.md

+ 2 - 2
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 %}`)
-   in your themes `index.twig`.
+   to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your
+   themes `index.twig`.
 
 
 ## Customization
 ## Customization