diff options
author | Wolfgang Müller | 2021-06-12 14:21:59 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-06-12 14:21:59 +0200 |
commit | ad2be2b20c337d99ebe6e7d4b8cf6106cfba77df (patch) | |
tree | 65c0ddbb7828fd5b174eb531739097f83a3f17ee /templates/base.html | |
download | zunzuncito-ad2be2b20c337d99ebe6e7d4b8cf6106cfba77df.tar.gz |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | templates/base.html | 27 |
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> |