da02d9ba95
- relurl filter is ready, but not yet in use, because it's a mess - reworked yearly archives: all page shows all years, no prev/next - removed property= mf2 tags - cleanups in markup - added searchaction schema.org thing - removed everything-the-same-size-font from style
146 lines
5.1 KiB
HTML
146 lines
5.1 KiB
HTML
<!DOCTYPE html>
|
|
<html{% block lang %}{% endblock %}>
|
|
<head>
|
|
<title>{% block title %}{% endblock %}</title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1" />
|
|
<link rel="icon" href="{{ site.favicon }}" />
|
|
{% block licence %}
|
|
<link rel="license" href="https://spdx.org/licenses/{{ site.licence }}.html" type="{{ site.licence }}" />
|
|
{% endblock %}
|
|
{% for key, value in meta.items() %}
|
|
<link rel="{{ key }}" href="{{ value }}" />
|
|
{% endfor %}
|
|
{% block meta %}{% endblock %}
|
|
<style media="all">
|
|
{% include 'style.css' %}
|
|
</style>
|
|
<style id="css_alt" media="speech">
|
|
{% include 'style-alt.css' %}
|
|
</style>
|
|
<style media="print">
|
|
{% include 'style-print.css' %}
|
|
</style>
|
|
</head>
|
|
|
|
<body itemscope="" itemtype="http://schema.org/Blog http://schema.org/WebPage">
|
|
|
|
{% macro activemenu(name) %}
|
|
{% if (post is defined and post.slug == name )
|
|
or (post is defined and post.category == name )
|
|
or ( category is defined and category.name == name )%}active{% endif %}
|
|
{% endmacro %}
|
|
|
|
<header>
|
|
<section>
|
|
<nav>
|
|
<ul>
|
|
{% for key, data in menu.items() %}
|
|
<li>
|
|
<a title="{{ data.text }}" href="{{ data.url }}" class="{{ activemenu(key) }}">
|
|
<svg width="16" height="16">
|
|
<use xlink:href="#icon-{{ key }}" />
|
|
</svg>
|
|
{{ data.text }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
|
|
<div>
|
|
<form class="theme" aria-hidden="true">
|
|
<svg width="16" height="16">
|
|
<use xlink:href="#icon-contrast"></use>
|
|
</svg>
|
|
<span>
|
|
<input name="colorscheme" value="dark" id="darkscheme" type="radio">
|
|
<label for="darkscheme">dark</label>
|
|
</span>
|
|
<span>
|
|
<input name="colorscheme" value="light" id="lightscheme" type="radio">
|
|
<label for="lightscheme">light</label>
|
|
</span>
|
|
</form>
|
|
<form role="search" method="get" action="{{ site.search }}" itemprop="potentialAction" itemscope="" itemtype="https://schema.org/SearchAction">
|
|
<meta itemprop="target" content="{{ site.search }}?q={q}"/>
|
|
<label for="qsub">
|
|
<input type="submit" value="search" id="qsub" name="qsub" />
|
|
<svg width="16" height="16">
|
|
<use xlink:href="#icon-search"></use>
|
|
</svg>
|
|
</label>
|
|
<input itemprop="query-input" type="search" placeholder="search..." value="" name="q" id="q" title="Search for:" required="required" />
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</header>
|
|
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
{% block pagination %}
|
|
{% endblock %}
|
|
|
|
<footer class="p-author h-card vcard" id="author" itemprop="author publisher" itemscope="" itemtype="https://schema.org/Person https://schema.org/Organization">
|
|
<p>
|
|
<a href="https://creativecommons.org/">CC</a>,
|
|
1999-2019,
|
|
<span itemprop="logo" itemscope="" itemtype="https://schema.org/ImageObject">
|
|
<img class="photo avatar u-photo u-avatar"
|
|
src="{{ author.avatar }}"
|
|
alt="Photo of {{ author.name }}"
|
|
itemprop="image url" />
|
|
</span>
|
|
<a class="fn p-name url u-url u-uid" rel="me" href="{{ site.url }}">
|
|
<span itemprop="name">{{ author.name }}</span>
|
|
</a>
|
|
<a class="u-email email" rel="me" href="mailto:{{ author.email }}">
|
|
<svg width="16" height="16">
|
|
<title>email</title>
|
|
<use xlink:href="#icon-mail"></use>
|
|
</svg>
|
|
<span itemprop="email">{{ author.email }}</span>
|
|
</a>
|
|
</p>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<a title="following" href="{{ author.following }}">
|
|
<svg width="16" height="16"><use xlink:href="#icon-following" /></svg>
|
|
followings
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a title="CV" href="{{ author.cv }}">
|
|
<svg width="16" height="16"><use xlink:href="#icon-resume" /></svg>
|
|
resume
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a title="github" rel="me" href="{{ author.github }}">
|
|
<svg width="16" height="16"><use xlink:href="#icon-github" /></svg>
|
|
github
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<p>
|
|
<a href="https://xn--sr8hvo.ws/🇻🇮📢/previous">←</a>
|
|
Member of <a href="https://xn--sr8hvo.ws">IndieWeb Webring</a>
|
|
<a href="https://xn--sr8hvo.ws/🇻🇮📢/next">→</a>
|
|
</p>
|
|
</footer>
|
|
|
|
<script>
|
|
{% include 'themeswitcher.js' %}
|
|
{% include 'konami.js' %}
|
|
</script>
|
|
|
|
{% include 'symbols.svg' %}
|
|
|
|
{% block prism %}
|
|
{% endblock %}
|
|
|
|
</body>
|
|
</html>
|