theme/templates/base.html
38 lines · 1382 bytes
1<!doctype html>
2<html lang="en-us">
3<head>
4 {% block head %}
5 <meta charset="utf-8">
6 <title>
7 {% block subtitle %}{% endblock %}
8 {% block title %}{{ site_name | default("weblorg website") }}{% endblock %}
9 </title>
10 <meta name="viewport" content="width=device-width, initial-scale=1">
11 {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %}
12 {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %}
13 {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %}
14 <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css">
15 <link rel="icon" href="data:,">
16 {% block meta %}{% endblock %}
17 {% endblock %}
18</head>
19<body>
20 <nav class="site-nav" aria-label="site-nav" role="navigation">
21 <ul>
22 <li><a href="/">Home</a></li>
23 <li><a href="/blog/">Blog</a></li>
24 <li><a href="/services/">Services</a></li>
25 <li><a href="/wiki/">Wiki</a></li>
26 </ul>
27 </nav>
28 <main>{% block main %}{% endblock %}</main>
29 <footer>
30 <p>Last build: <{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}></p>
31 <p>
32 <a href="https://github.com/ccleberg/cleberg.net" target="_blank"
33 rel="noopener">Source Code</a> ·
34 <a href="/feed.xml">RSS Feed</a>
35 </p>
36 </footer>
37</body>
38</html>