diff options
author | Adam Matan <adam@matan.name> | 2017-03-07 20:01:35 +0200 |
---|---|---|
committer | Adam Matan <adam@matan.name> | 2017-03-07 20:01:35 +0200 |
commit | e1bd3488e60362f05d5e63adf73b10a7c3932124 (patch) | |
tree | 5bf68fd7311072f64f0abc660faac1bb3ad969d8 /sneakyidea/templates/base.html | |
parent | ef412e6bd0a9e0e93bb3ae377725b41c63d49a49 (diff) | |
download | pelican-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 'sneakyidea/templates/base.html')
-rw-r--r-- | sneakyidea/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sneakyidea/templates/base.html b/sneakyidea/templates/base.html index dcd9239..9e885f0 100644 --- a/sneakyidea/templates/base.html +++ b/sneakyidea/templates/base.html @@ -31,7 +31,7 @@ <h1><a href="{{ SITEURL }}">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> <nav><ul> {% if DISPLAY_PAGES_ON_MENU %} - {% for current_page in PAGES %} + {% for current_page in pages %} <li {% if page %}{% if page == current_page%}class="active"{% endif %}{% endif %}> <a href="{{ SITEURL }}/{{ current_page.url }}">{{ current_page.title }}</a> </li> |