From 82bf3cfe1766ddd5f20d06d1b0537314b1f7d3ad Mon Sep 17 00:00:00 2001 From: Brendan Bartels <bbartels@iastate.edu> Date: Thu, 19 Jan 2017 19:07:08 -0600 Subject: [PATCH] website: Fix bug due to breaking change in recent pelican release --- website/scripts/setup_pelican.sh | 1 + website/themes/notmyidea/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/scripts/setup_pelican.sh b/website/scripts/setup_pelican.sh index d0dac5867..de647e335 100644 --- a/website/scripts/setup_pelican.sh +++ b/website/scripts/setup_pelican.sh @@ -4,5 +4,6 @@ /remote/python/2.7.9/bin/virtualenv ./ source bin/activate +pip install --upgrade pip pip install pelican pip install Markdown diff --git a/website/themes/notmyidea/templates/base.html b/website/themes/notmyidea/templates/base.html index c2155dcc5..455bcb40a 100644 --- a/website/themes/notmyidea/templates/base.html +++ b/website/themes/notmyidea/templates/base.html @@ -27,7 +27,7 @@ <li><a href="{{ link }}">{{ title }}</a></li> {% endfor %} {% if DISPLAY_PAGES_ON_MENU -%} - {% for pg in PAGES %} + {% for pg in pages %} <li{% if pg == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a></li> {% endfor %} {% endif %} -- GitLab