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

@@ -15,6 +15,15 @@ LINKS = (('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'),
('Jinja2', 'http://jinja.pocoo.org'),
('You can modify those links in your config file', '#'),)
PAGELINKS = (('Ivolution Project', 'Ivolution.html'),
('1 minute kick-off', 'OneMinuteTutorial.html'),
('Downloads', 'Downloads.html'),
('Installation', 'Installation.html'),
('Main Interface', 'MainInterface.html'),
('Settings Interface', 'Settings.html'),
('Future Developments', 'FutureDevelopments.html'),
('About', 'About.html'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)

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>