169 lines
6.5 KiB
HTML
169 lines
6.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ HTML_LANG }}">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
|
<meta name="author" content="{{ AUTHOR }}">
|
|
|
|
{% block extra_meta %}
|
|
{% endblock %}
|
|
|
|
<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>
|
|
|
|
<body>
|
|
{{ FEED_ATOM }}
|
|
<div class="container"><header role="banner">
|
|
<div class="feeds">
|
|
{% if FEED_ALL_ATOM %}
|
|
<a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/feed-32px.png" alt="atom feed"/></a>
|
|
{% endif %}
|
|
{% if FEED_ALL_RSS %}
|
|
<a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/feed-32px.png" alt="rss feed"/></a>
|
|
{% endif %}
|
|
</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>
|
|
{% endif %}
|
|
|
|
{% 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 %}
|
|
|
|
{% 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>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|