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 /brownstone | |
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 'brownstone')
-rw-r--r-- | brownstone/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brownstone/templates/base.html b/brownstone/templates/base.html index adf3c6d..1f8c900 100644 --- a/brownstone/templates/base.html +++ b/brownstone/templates/base.html @@ -39,7 +39,7 @@ Released : 20100928 <li {% if page_name == "index" %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}">Home</a></li> <li {% if page_name == "archives" %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}/archives.html">Archives</a></li> {% if DISPLAY_PAGES_ON_MENU %} - {% for page in PAGES %} + {% for page in pages %} <li {% if page_name == page_title %}class="current_page_item"{% endif %}><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} {% endif %} |