summaryrefslogtreecommitdiffstatshomepage
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..edce080
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,27 @@
+{% import "macros.html" as macros -%}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>{{ config.title ~ " · " }}{% block title %}{{ config.description }}{% endblock %}</title>
+ <link rel="stylesheet" href="/style.css"/>
+ <link rel="icon" href="/icon.svg"/>
+ <link rel="alternate" type="application/atom+xml" title="zunzuncito" href="/atom.xml" />
+ {%- block additional_feeds %}{% endblock %}
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ </head>
+ <body>
+ <main>
+ <header>
+ <h1><a href="/">{{ config.title }}</a></h1>
+ <div class="banner smaller">
+ {{ config.description }} ·
+ {%- block description %}
+ <a href="/atom.xml">feed</a> · <a href="/tags">tags</a>
+ {%- endblock %}
+ </div>
+ </header>
+ {%- block content %}{% endblock -%}
+ </main>
+ </body>
+</html>