aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms-fr/templates
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:40:22 +0200
committerGitHub <noreply@github.com>2017-04-08 13:40:22 +0200
commit7c80c7f33653e5baff14c59195041488d1dc4a45 (patch)
tree458d9a0b1f8e25e95cd16c524bc3fe4a62c8a5e2 /notmyidea-cms-fr/templates
parentd7779b637b990aa70266d55faf842fbb4c837715 (diff)
parente1bd3488e60362f05d5e63adf73b10a7c3932124 (diff)
downloadpelican-themes-7c80c7f33653e5baff14c59195041488d1dc4a45.tar.gz
Merge pull request #497 from adamatan/master
Replace 'PAGES' with 'pages' across all themes
Diffstat (limited to 'notmyidea-cms-fr/templates')
-rw-r--r--notmyidea-cms-fr/templates/base.html2
-rw-r--r--notmyidea-cms-fr/templates/index.html2
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>