aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/base.html')
-rw-r--r--theme/templates/base.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
new file mode 100644
index 0000000..167883c
--- /dev/null
+++ b/theme/templates/base.html
@@ -0,0 +1,41 @@
+
+<!doctype html>
+<html lang="en-us">
+<head>
+ {% block head %}
+ <meta charset="utf-8">
+ <title>
+ {% block subtitle %}{% endblock %}
+ {% block title %}{{ site_name | default("weblorg website") }}{% endblock %}
+ </title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %}
+ {% if site_description is defined %}<meta name="description" content="{{ site_description }}" >{% endif %}
+ {% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" >{% endif %}
+ <link rel="stylesheet" href="{{ url_for("static", file="styles.min.css") }}" type="text/css">
+ {% block meta %}{% endblock %}
+ {% endblock %}
+</head>
+<body>
+ {% block nav %}
+ <nav class="site-nav" aria-label="site-nav" role="navigation">
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/blog/">Blog</a></li>
+ <li><a href="/services/">Services</a></li>
+ <li><a href="/wiki/">Wiki</a></li>
+ </ul>
+ </nav>
+ {% endblock %}
+
+ <main>{% block main %}{% endblock %}</main>
+
+ {% block footer %}
+ <footer>
+ <p>Last Build: &lt;{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}&gt;</p>
+ <p><a href="https://git.cleberg.net/cleberg.net.git" target="_blank" rel="noopener">Source Code</a></p>
+ <p><a href="/atom.xml">Atom RSS Feed</a></p>
+ </footer>
+ {% endblock %}
+</body>
+</html>