aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..7eeeaf6
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ lang }}" xml:lang="{{ lang }}">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
+ <link rel="canonical" href="{{- current_url|safe -}}" />
+ <link rel="stylesheet" href="/css/custom.css" />
+
+ <meta name="author" content="{{- config.author -}}" />
+ <meta name="description" content="{%- block description -%}{{- config.description -}}{%- endblock description -%}" />
+ <link rel="alternate" type="application/atom+xml" title="Blog posts" href="{{ get_url(path="/blog/atom.xml", trailing_slash=false) }}" />
+
+ <title>{% block title %}{{- config.title -}}{% endblock title %}</title>
+ </head>
+
+ <body>
+ {% block content %}{% endblock content %}
+ </body>
+
+</html>