Changes order of pages, using a new variable in pelicanconf

This commit is contained in:
2012-09-14 14:06:59 +02:00
parent 55669394b8
commit 479bae96d7
2 changed files with 12 additions and 5 deletions

View File

@@ -41,11 +41,9 @@
<div class="well">
<h3>Contents</h3>
<ul>
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in PAGES %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
{% endif %}
{% for name, link in PAGELINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
<h3>Other Links</h3>
<ul>