2010-08-17 23:01:25 +02:00
|
|
|
<!DOCTYPE html>
|
2011-07-21 19:10:38 +02:00
|
|
|
<html lang="{{ DEFAULT_LANG }}">
|
2010-08-17 23:01:25 +02:00
|
|
|
<head>
|
2011-07-21 19:10:38 +02:00
|
|
|
{% block head %}
|
|
|
|
|
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
2010-08-17 23:01:25 +02:00
|
|
|
<meta charset="utf-8" />
|
2011-07-21 19:10:38 +02:00
|
|
|
{% endblock head %}
|
2010-08-17 23:01:25 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body id="index" class="home">
|
|
|
|
|
<header id="banner" class="body">
|
2010-10-30 00:58:32 +01:00
|
|
|
<h1><a href="{{ SITEURL }}">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
|
2010-08-17 23:01:25 +02:00
|
|
|
</header><!-- /#banner -->
|
2011-07-21 18:43:18 +02:00
|
|
|
<nav id="menu"><ul>
|
|
|
|
|
{% for title, link in MENUITEMS %}
|
|
|
|
|
<li><a href="{{ link }}">{{ title }}</a></li>
|
2010-09-19 22:29:56 +01:00
|
|
|
{% endfor %}
|
2011-07-21 18:43:18 +02:00
|
|
|
{% if DISPLAY_PAGES_ON_MENU %}
|
|
|
|
|
{% for p in PAGES %}
|
2012-03-02 23:19:03 +01:00
|
|
|
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
2011-07-21 18:43:18 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
|
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul></nav><!-- /#menu -->
|
2010-08-17 23:01:25 +02:00
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
<footer id="contentinfo" class="body">
|
|
|
|
|
<address id="about" class="vcard body">
|
2012-03-06 08:12:15 -08:00
|
|
|
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican</a>,
|
|
|
|
|
which takes great advantage of <a href="http://python.org">Python</a>.
|
2010-08-17 23:01:25 +02:00
|
|
|
</address><!-- /#about -->
|
|
|
|
|
</footer><!-- /#contentinfo -->
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|