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 /notmyidea-cms-fr/templates | |
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 'notmyidea-cms-fr/templates')
-rw-r--r-- | notmyidea-cms-fr/templates/base.html | 2 | ||||
-rw-r--r-- | notmyidea-cms-fr/templates/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms-fr/templates/base.html b/notmyidea-cms-fr/templates/base.html index 5e6d291..ee509c3 100644 --- a/notmyidea-cms-fr/templates/base.html +++ b/notmyidea-cms-fr/templates/base.html @@ -33,7 +33,7 @@ {% if DISPLAY_PAGES_ON_MENU != False %} <li><a href="{{ SITEURL }}/index.html">Accueil</a></li> <li><a href="{{ SITEURL }}/archives.html">Archives</a></li> - {% for p in PAGES %} + {% for p in pages %} <li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> {% endfor %} {% endif %} diff --git a/notmyidea-cms-fr/templates/index.html b/notmyidea-cms-fr/templates/index.html index d96a161..ec455a0 100644 --- a/notmyidea-cms-fr/templates/index.html +++ b/notmyidea-cms-fr/templates/index.html @@ -58,7 +58,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> |