From e1bd3488e60362f05d5e63adf73b10a7c3932124 Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Tue, 7 Mar 2017 20:01:35 +0200 Subject: 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 --- notmyidea-cms/templates/base.html | 2 +- notmyidea-cms/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'notmyidea-cms/templates') diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html index 4d92ec2..d281c0f 100644 --- a/notmyidea-cms/templates/base.html +++ b/notmyidea-cms/templates/base.html @@ -33,7 +33,7 @@ {% endfor %} {% if DISPLAY_PAGES_ON_MENU != False %} - {% for p in PAGES %} + {% for p in pages %}
  • {{ p.title }}
  • {% endfor %} {% endif %} diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html index 5e1e676..c97ff7d 100644 --- a/notmyidea-cms/templates/index.html +++ b/notmyidea-cms/templates/index.html @@ -35,7 +35,7 @@ {% else %}

    Pages

    -{% for page in PAGES %} +{% for page in pages %}
  • {{ page.title }}
  • {% endfor %}
    -- cgit