2023-03-21 21:37:39 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ DEFAULT_LANG }}">
|
2023-03-16 21:40:13 +01:00
|
|
|
<head>
|
2023-03-21 21:37:39 +01:00
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
|
|
|
<meta name="author" content="{{ AUTHOR }}">
|
|
|
|
<meta property=og:site_name content="{{ SITENAME }}" />
|
|
|
|
<meta property=og:type content=article />
|
|
|
|
<meta property=og:url content="{{ SITEURL }}" />
|
2023-03-22 21:20:10 +01:00
|
|
|
{% if SITELOGO %}
|
|
|
|
<meta property=og:image content="{{ SITEURL }}/{{ SITELOGO }}">
|
|
|
|
{% else %}
|
2023-03-21 21:37:39 +01:00
|
|
|
<meta property=og:image content="{{ SITEURL }}/theme/images/pelican.png" />
|
2023-03-22 21:20:10 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
{% block extra_meta %}
|
|
|
|
{% endblock %}
|
2023-03-16 21:40:13 +01:00
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
<link rel="top" href="#" />
|
|
|
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
|
|
|
|
{% block scripts %}
|
|
|
|
{% if FRIENDICA_COMMENTS %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
var friendica_domain = "{{ FRIENDICA_COMMENTS }}"
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% if FEED_ALL_ATOM %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ALL_RSS %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEDERATION_TIMELINE %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
{% for variable, value in FEDERATION_TIMELINE %}
|
|
|
|
var {{ variable }} = '{{ value }}';
|
|
|
|
{% endfor %}
|
|
|
|
parseInt(max);
|
|
|
|
var tag = 'federation_timeline';
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
</head>
|
2023-03-16 21:40:13 +01:00
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
<body>
|
|
|
|
{{ FEED_ATOM }}
|
|
|
|
<div class="container"><header role="banner">
|
2023-03-22 21:20:10 +01:00
|
|
|
{% if SITELOGO %}
|
|
|
|
<img style="height: 4px; vertical-align: -10px; padding-right: 10px" src="{{ SITEURL }}/{{ SITELOGO }}">
|
|
|
|
{% endif %}
|
2023-03-21 21:37:39 +01:00
|
|
|
<div class="feeds">
|
2023-03-16 21:40:13 +01:00
|
|
|
{% if FEED_ALL_ATOM %}
|
2023-03-21 21:37:39 +01:00
|
|
|
<a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/feed-32px.png" alt="atom feed"/></a>
|
2023-03-16 21:40:13 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ALL_RSS %}
|
2023-03-21 21:37:39 +01:00
|
|
|
<a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/feed-32px.png" alt="rss feed"/></a>
|
2023-03-16 21:40:13 +01:00
|
|
|
{% endif %}
|
2023-03-21 21:37:39 +01:00
|
|
|
</div>
|
|
|
|
<a href="{{ SITEURL }}" class="title">{{ SITENAME }}</a>
|
|
|
|
{% if pages %}
|
|
|
|
<nav class="pages">
|
|
|
|
{% for p in pages %}
|
|
|
|
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}{% if not loop.last %} -{% endif %}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
</header>
|
|
|
|
<div class="wrapper">
|
|
|
|
{% if CATEGORIES_ON_SIDEBAR =='left' %}
|
|
|
|
<div role="main" class="left-sidebar">
|
|
|
|
<nav>
|
|
|
|
<h2>Categories</h2>
|
|
|
|
<ul>
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
{% if cat != DEFAULT_CATEGORY %}
|
|
|
|
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
|
|
|
{% else %}
|
|
|
|
{% for article in articles %}
|
|
|
|
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div role="main" class="content">
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div class="sidebar">
|
|
|
|
{% if CATEGORIES_ON_SIDEBAR =='right' %}
|
|
|
|
<nav>
|
|
|
|
<h2>Categories</h2>
|
|
|
|
<ul>
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2023-03-16 21:40:13 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
{% if DISPLAY_TAGS_ON_SIDEBAR %}
|
|
|
|
<h2>Tags</h2>
|
|
|
|
<ul class="tagcloud">
|
|
|
|
{% for tag in tag_cloud %}
|
|
|
|
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% if FEDERATION_TIMELINE %}
|
|
|
|
<h2>News</h2>
|
|
|
|
<div id="federation_timeline">
|
|
|
|
<p>Enable Javascript to view Social timeline!</p>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript" src="{{ SITEURL }}/theme/js/federation_widget.js"></script>
|
|
|
|
{% endif %}
|
|
|
|
{% if SOCIAL %}
|
|
|
|
<aside>
|
|
|
|
<h2>Social Networks</h2>
|
|
|
|
<ul class="social">
|
|
|
|
{% for name, link in SOCIAL %}
|
|
|
|
<li><a href="{{ link }}" id="{{ name }}">{{ link }}</a><i></i></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
{% endif %}
|
2023-03-16 21:40:13 +01:00
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
{% if LINKS %}
|
|
|
|
<aside>
|
|
|
|
<h2>Links</h2>
|
|
|
|
<ul>
|
|
|
|
{% for name, link in LINKS %}
|
|
|
|
<li><a href="{{ link }}">{{ name }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-16 21:40:13 +01:00
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
<footer>
|
|
|
|
<p role="contentinfo">
|
|
|
|
{% if LICENSE=="CC-BY" %}
|
|
|
|
<a href="http://creativecommons.org/licenses/by/4.0/legalcode" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/licenses/cc-by-88x31.png" alt="CC-BY"/></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if LICENSE=="CC-BY-NC" %}
|
|
|
|
<a href="http://creativecommons.org/licenses/by-nc/4.0/legalcode" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/licenses/cc-by-nc-88x31.png" alt="CC-BY-NC"/></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if LICENSE=="CC-BY-SA" %}
|
|
|
|
<a href="http://creativecommons.org/licenses/by-sa/4.0/legalcode" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/licenses/cc-by-sa-88x31.png" alt="CC-BY-SA"/></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if LICENSE=="CC-BY-NC-SA" %}
|
|
|
|
<a href="http://creativecommons.org/licenses/by-nc-sa/4.0/legalcode" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/licenses/cc-by-nc-sa-88x31.png" alt="CC-BY-NC-SA"/></a>
|
|
|
|
{% endif %}
|
|
|
|
{% if LICENSE=="ALL-RIGHTS-RESERVED" %}
|
|
|
|
All rights reserved.
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
<p role="contentinfo">
|
|
|
|
{{ AUTHOR }} -
|
|
|
|
{% if EMAIL %}
|
|
|
|
E-Mail: {{ EMAIL }}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
<p role="contentinfo">
|
|
|
|
Proudly powered by <a href="https://getpelican.com/">pelican</a>.
|
|
|
|
</p>
|
|
|
|
</footer>
|
2023-03-16 21:40:13 +01:00
|
|
|
|
2023-03-21 21:37:39 +01:00
|
|
|
</div>
|
2023-03-16 21:40:13 +01:00
|
|
|
</body>
|
|
|
|
</html>
|