aboutsummaryrefslogtreecommitdiffstats
path: root/notebook/templates
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:40:22 +0200
committerGitHub <noreply@github.com>2017-04-08 13:40:22 +0200
commit7c80c7f33653e5baff14c59195041488d1dc4a45 (patch)
tree458d9a0b1f8e25e95cd16c524bc3fe4a62c8a5e2 /notebook/templates
parentd7779b637b990aa70266d55faf842fbb4c837715 (diff)
parente1bd3488e60362f05d5e63adf73b10a7c3932124 (diff)
downloadpelican-themes-7c80c7f33653e5baff14c59195041488d1dc4a45.tar.gz
Merge pull request #497 from adamatan/master
Replace 'PAGES' with 'pages' across all themes
Diffstat (limited to 'notebook/templates')
-rw-r--r--notebook/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/notebook/templates/base.html b/notebook/templates/base.html
index 5483e93..c77cd93 100644
--- a/notebook/templates/base.html
+++ b/notebook/templates/base.html
@@ -45,10 +45,10 @@
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
- {% if DISPLAY_PAGES_ON_MENU and PAGES %}
+ {% if DISPLAY_PAGES_ON_MENU and pages %}
<h2>Pages</h2>
<ul class="navbar">
- {% for p in PAGES %}
+ {% for p in pages %}
<li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
</ul>