39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ DEFAULT_LANG }}"{% if THEME_DEFAULT %} data-theme="{{ THEME_DEFAULT }}"{% endif %}>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
|
|
{% block meta %}{% endblock %}
|
|
{# Applied before first paint: without this the wrong ground colour flashes. #}
|
|
<script>
|
|
(function(){try{var t=localStorage.getItem("theme");
|
|
if(t){document.documentElement.setAttribute("data-theme",t);}}catch(e){}})();
|
|
</script>
|
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
|
<link rel="icon" type="image/svg+xml" href="{{ SITEURL }}/theme/img/favicon.svg">
|
|
<link rel="icon" type="image/png" href="{{ SITEURL }}/theme/img/favicon.png">
|
|
{% if FEED_ALL_ATOM %}
|
|
<link rel="alternate" type="application/atom+xml" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" title="{{ SITENAME }}">
|
|
{% endif %}
|
|
</head>
|
|
<body>
|
|
<nav class="bar">
|
|
<a class="me" href="{{ SITEURL }}/">{% include "_logo.html" %}<span>{{ SITENAME }}</span></a>
|
|
{% for title, link in MENUITEMS %}<a href="{{ SITEURL }}{{ link }}">{{ title }}</a>
|
|
{% endfor %}
|
|
<span class="sep">·</span>
|
|
<button type="button" data-theme-toggle>dark</button>
|
|
</nav>
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
<footer>
|
|
{{ SITENAME }}
|
|
{% for title, link in MENUITEMS %} · <a href="{{ SITEURL }}{{ link }}">{{ title }}</a>{% endfor %}
|
|
</footer>
|
|
|
|
<script src="{{ SITEURL }}/theme/js/muuri.min.js"></script>
|
|
<script src="{{ SITEURL }}/theme/js/site.js"></script>
|
|
</body>
|
|
</html>
|