2019-04-16 17:10:29 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ DEFAULT_LANG }}">
|
|
|
|
<head>
|
|
|
|
{% block head %}
|
|
|
|
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" />
|
|
|
|
{% if FEED_ALL_ATOM %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ALL_RSS %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ATOM %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_RSS %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if CATEGORY_FEED_ATOM and category %}
|
2019-11-19 15:31:54 +01:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(slug=category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
|
2019-04-16 17:10:29 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if CATEGORY_FEED_RSS and category %}
|
2019-11-19 15:31:54 +01:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(slug=category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
|
2019-04-16 17:10:29 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if TAG_FEED_ATOM and tag %}
|
2019-11-19 15:31:54 +01:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(slug=tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
|
2019-04-16 17:10:29 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if TAG_FEED_RSS and tag %}
|
2019-11-19 15:31:54 +01:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(slug=tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
|
2019-04-16 17:10:29 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock head %}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body id="index" class="home">
|
|
|
|
<header id="banner" class="body">
|
|
|
|
<!-- site image -->
|
|
|
|
{% if SITELOGO %}
|
|
|
|
<div class= "siteimage">
|
|
|
|
<a href={{ SITELOGO }}>
|
|
|
|
<img width="85" height="85" src={{ SITELOGO }}>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class = "sitebanner">
|
|
|
|
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
|
|
|
|
</div>
|
|
|
|
</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 %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<footer id="contentinfo" class="body">
|
|
|
|
<hr>
|
|
|
|
<address id="about" class="vcard body">
|
|
|
|
<small>
|
|
|
|
Alimentato da
|
|
|
|
<a href="http://python.org">Python</a> e
|
|
|
|
<a href="http://getpelican.com/">Pelican</a>, tema
|
2019-04-16 18:45:43 +02:00
|
|
|
<a href="https://git.abbiamoundominio.org/unit/website-pelican">minimunit</a><br>
|
|
|
|
Se hai pensato che c'era un modo migliore, avevi ragione.
|
2019-04-16 17:10:29 +02:00
|
|
|
</small>
|
|
|
|
</address><!-- /#about -->
|
|
|
|
</footer><!-- /#contentinfo -->
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|