|
@ -35,29 +35,13 @@ |
|
|
<header id="banner" class="body"> |
|
|
<header id="banner" class="body"> |
|
|
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
|
|
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
|
|
</header><!-- /#banner --> |
|
|
</header><!-- /#banner --> |
|
|
<nav id="menu"><ul> |
|
|
|
|
|
{% for title, link in MENUITEMS %} |
|
|
|
|
|
<li><a href="{{ link }}">{{ title }}</a></li> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU %} |
|
|
|
|
|
{% for p in pages %} |
|
|
|
|
|
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{% if DISPLAY_CATEGORIES_ON_MENU %} |
|
|
|
|
|
{% for cat, null in categories %} |
|
|
|
|
|
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</ul></nav><!-- /#menu --> |
|
|
|
|
|
{% block content %} |
|
|
{% block content %} |
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|
<footer id="contentinfo" class="body"> |
|
|
<footer> |
|
|
<address id="about" class="vcard body"> |
|
|
{% for page in pages %} |
|
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, |
|
|
{{ page.title }} |
|
|
which takes great advantage of <a href="http://python.org">Python</a>. |
|
|
{{ page.content }} |
|
|
</address><!-- /#about --> |
|
|
{% endfor %} |
|
|
</footer><!-- /#contentinfo --> |
|
|
</footer> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |
|
|