From b31c93acf6ce2ddd7463a1cf1e275f0798390fe4 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Thu, 24 Mar 2016 17:41:26 +0100 Subject: [PATCH] Inline docs: Fix blogging tutorial Fixes #338. Thank you @marctilman --- content-sample/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content-sample/index.md b/content-sample/index.md index 209369b..d3f0ebb 100644 --- a/content-sample/index.md +++ b/content-sample/index.md @@ -135,10 +135,10 @@ something like the following: {% endif %} {% endfor %} ``` -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 %}` +4. Make sure to exclude blog articles from your page navigation. You can achieve + this by adding `{% if not (page.id starts with "blog/") %}...{% endif %}` to the navigation loop (`{% for page in pages %}...{% endfor %}`) in your - themes `index.twig`. + theme's `index.twig`. ## Customization