aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld/templates
diff options
context:
space:
mode:
authorAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
committerAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
commite1bd3488e60362f05d5e63adf73b10a7c3932124 (patch)
tree5bf68fd7311072f64f0abc660faac1bb3ad969d8 /franticworld/templates
parentef412e6bd0a9e0e93bb3ae377725b41c63d49a49 (diff)
downloadpelican-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 'franticworld/templates')
-rw-r--r--franticworld/templates/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/franticworld/templates/sidebar.html b/franticworld/templates/sidebar.html
index c8811c2..fe695af 100644
--- a/franticworld/templates/sidebar.html
+++ b/franticworld/templates/sidebar.html
@@ -1 +1 @@
-<div class="sidebarcategory"> <h4>Categories</h4> {% for cat, null in categories %} <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %} </div> <div class="sidebarpages"> {% if PAGES %} <h4>Pages</h4> {% for page in PAGES %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarblogroll"> {% if LINKS %} <h4>Blogroll</h4> {% for name, link in LINKS %} <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarsocial"> {% if SOCIAL %} <h4>Social</h4> {% for name, link in SOCIAL %} <li><a href="{{ link }}">{{ name }}</a></li> {% endfor %} {% endif %} </div> \ No newline at end of file
+<div class="sidebarcategory"> <h4>Categories</h4> {% for cat, null in categories %} <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %} </div> <div class="sidebarpages"> {% if pages %} <h4>Pages</h4> {% for page in pages %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarblogroll"> {% if LINKS %} <h4>Blogroll</h4> {% for name, link in LINKS %} <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarsocial"> {% if SOCIAL %} <h4>Social</h4> {% for name, link in SOCIAL %} <li><a href="{{ link }}">{{ name }}</a></li> {% endfor %} {% endif %} </div> \ No newline at end of file