mirror of
https://github.com/jlengrand/IvolutionWebsite.git
synced 2026-03-10 08:31:18 +00:00
Changes order of pages, using a new variable in pelicanconf
This commit is contained in:
@@ -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', '#'),)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user