about summary refs log tree commit diff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..33f4fd5
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,25 @@
+{% import "macros/posts.html" as posts %}
+
+<!DOCTYPE html>
+<html lang="{{ config.default_language }}">
+  <head>
+    {% include "parts/head.html" %}
+    <title>{% block html_title %}{% endblock html_title %}</title>
+  </head>
+  <body>
+    <div id="main">
+      <header class="top-header">
+        <b><a class="header-title" href="/">{{ config.title }}</a></b>
+        <p class="header-description"><span class="split-horizontal">Fixing nonexistent problems</span></p>
+      </header>
+      {% include "parts/nav.html" %}
+      <main>
+        {% block content %}{% endblock %}
+      </main>
+      <footer>
+        © 2023 sefidel
+        <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a><br />This work is licensed under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
+      </footer>
+    </div>
+  </body>
+</html>