Mercurial > piecrust2
diff docs/templates/inc/family-sidebar.html @ 1057:fd95fef51705
docs: Update documentation on sources and pipelines.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 01 Feb 2018 22:03:33 -0800 |
parents | 61d53d2163d6 |
children |
line wrap: on
line diff
--- a/docs/templates/inc/family-sidebar.html Wed Jan 31 20:56:02 2018 -0800 +++ b/docs/templates/inc/family-sidebar.html Thu Feb 01 22:03:33 2018 -0800 @@ -3,11 +3,11 @@ {%- endmacro %} <ul class="doc-level1"> -{% for p in family.root %} +{% for p in family.root.family.siblings %} {% if p.is_dir and p.is_page %} <li>{{ pagelink(p.title, p.url) }} <ul class="doc-level2"> - {% for p2 in p.children %} + {% for p2 in p.family.children %} <li>{{ pagelink(p2.title, p2.url) }}</li> {% endfor %} </ul>