Permalink
Browse files

Merge pull request #6 from elbenfreund/master

[#5] Fix broken 'PAGES' template variable
  • Loading branch information...
nasskach committed Aug 1, 2017
2 parents e9c821c + 4dfebe6 commit 58fb13112a2707baa7d65075517c40439ab95c0a
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/base.html
@@ -28,7 +28,7 @@ <h1><a href="{{ SITEURL }}/">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SIT
{% if not PAGES_SORT_ATTRIBUTE -%}
{% set PAGES_SORT_ATTRIBUTE = 'title' %}
{% endif %}
{% for pg in PAGES | sort(attribute=PAGES_SORT_ATTRIBUTE) %}
{% for pg in pages | sort(attribute=PAGES_SORT_ATTRIBUTE) %}
{% if 'http://' in pg.url -%}
<li><a href="{{ pg.url }}">{{ pg.title }}</a></li>
{% else %}

0 comments on commit 58fb131

Please sign in to comment.