summaryrefslogtreecommitdiff
diff options
authorLars Kruse <[email protected]>2018-01-16 05:58:54 +0100
committerLars Kruse <[email protected]>2018-01-16 05:58:54 +0100
commitae9dffaafa943840b9aa38559b8c196d4be0be08 (patch)
tree1f02e723baa8a83677563bd37059a17b2b819b71
parentd0f1c3c6ce9599a186e7f659ab347a6b61995ab3 (diff)
downloadbdsync-manager-master.tar.gz
website: adjust template variable PAGES to new pelican versionHEADmaster
-rw-r--r--website/theme/templates/base.html2
-rw-r--r--website/theme/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/website/theme/templates/base.html b/website/theme/templates/base.html
index 09309a6..102aa98 100644
--- a/website/theme/templates/base.html
+++ b/website/theme/templates/base.html
@@ -20,7 +20,7 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU -%}
- {% for pg in PAGES %}
+ {% for pg in pages %}
<li{% if pg == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a></li>
{% endfor %}
{% endif %}
diff --git a/website/theme/templates/index.html b/website/theme/templates/index.html
index 47e94ac..c553868 100644
--- a/website/theme/templates/index.html
+++ b/website/theme/templates/index.html
@@ -55,7 +55,7 @@
{% else %}
<section id="content" class="body">
<h2>Pages</h2>
- {% for page in PAGES %}
+ {% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</section>