Commit 545bc3a9 authored by Georg Krause's avatar Georg Krause

Make Menu dynamic

parent 8fb3891d
Pipeline #127 passed with stage
in 23 seconds
......@@ -22,10 +22,8 @@ AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
LINKS = (('User Guide', 'http://openavproductions.com/doc/luppp.html'),
('OpenAV Productions', 'http://openavproductions.com/'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
......
......@@ -39,9 +39,9 @@
<a class="pure-menu-heading" href="">{{ SITENAME }}</a>
<ul class="pure-menu-list">
<!-- <li class="pure-menu-item"><a href="/" class="pure-menu-link">Home</a></li> -->
<li class="pure-menu-item"><a href="http://openavproductions.com/doc/luppp.html" class="pure-menu-link">User Guide</a></li>
<li class="pure-menu-item"><a href="http://openavproductions.com" class="pure-menu-link">OpenAV Productions</a></li>
{% for title, link in LINKS %}
<li class="pure-menu-item"><a href="{{ link }}" class="pure-menu-link">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment