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 /bootstrap2-dark | |
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 'bootstrap2-dark')
-rw-r--r-- | bootstrap2-dark/templates/base.html | 2 | ||||
-rw-r--r-- | bootstrap2-dark/templates/index.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap2-dark/templates/base.html b/bootstrap2-dark/templates/base.html index 6b18f05..c2dae9d 100644 --- a/bootstrap2-dark/templates/base.html +++ b/bootstrap2-dark/templates/base.html @@ -70,7 +70,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 %} <li class="divider-vertical"></li> diff --git a/bootstrap2-dark/templates/index.html b/bootstrap2-dark/templates/index.html index db92ac6..c711a2d 100644 --- a/bootstrap2-dark/templates/index.html +++ b/bootstrap2-dark/templates/index.html @@ -35,10 +35,10 @@ </div> {% else %} - {% if PAGES %} + {% if pages %} <section id="content" class="body"> <h1>Pages</h1> - {% for page in PAGES %} + {% for page in pages %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} </section> |