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 --- bootstrap2-dark/templates/base.html | 2 +- bootstrap2-dark/templates/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap2-dark/templates') 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 @@
  • {{ title }}
  • {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} - {% for page in PAGES %} + {% for page in pages %}
  • {{ page.title }}
  • {% endfor %}
  • 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 @@ {% else %} - {% if PAGES %} + {% if pages %}

    Pages

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