diff --git a/website/scripts/setup_pelican.sh b/website/scripts/setup_pelican.sh index d0dac58674fae106b0feaf63bb036b057dcacce5..de647e3359facb6d00423b415d35d80e341f234f 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 c2155dcc5fe59dd1059941b38332604829ec4e65..455bcb40aee9fc6ac6c167ff43d142bed100ac4f 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 %}