aboutsummaryrefslogtreecommitdiffstats
path: root/subtle
diff options
context:
space:
mode:
authorAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
committerAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
commite1bd3488e60362f05d5e63adf73b10a7c3932124 (patch)
tree5bf68fd7311072f64f0abc660faac1bb3ad969d8 /subtle
parentef412e6bd0a9e0e93bb3ae377725b41c63d49a49 (diff)
downloadpelican-themes-e1bd3488e60362f05d5e63adf73b10a7c3932124.tar.gz
Replace 'PAGES' with 'pages' across all themes
Solving http://docs.getpelican.com/en/latest/faq.html\#since-i-upgraded-pelican-my-pages-are-no-longer-rendered And https://github.com/getpelican/pelican-themes/issues/437
Diffstat (limited to 'subtle')
-rwxr-xr-xsubtle/templates/base.html2
-rwxr-xr-xsubtle/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/subtle/templates/base.html b/subtle/templates/base.html
index 64584c8..8c355a0 100755
--- a/subtle/templates/base.html
+++ b/subtle/templates/base.html
@@ -27,7 +27,7 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
- {% for page in PAGES %}
+ {% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
{% endif %}
diff --git a/subtle/templates/index.html b/subtle/templates/index.html
index 6413c43..ad9d090 100755
--- a/subtle/templates/index.html
+++ b/subtle/templates/index.html
@@ -52,7 +52,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>