html: Start migrating to Jinja2.

This commit is contained in:
tecnovert
2019-07-25 22:15:08 +02:00
parent 5d238149ce
commit b920f926c1
5 changed files with 44 additions and 18 deletions

12
templates/header.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html><html lang="en">
<head>
<meta charset="UTF-8">
{% if refresh %}
<meta http-equiv="refresh" content="{{ refresh }}">
{% endif %}
<title>{{ title }}</title>
</head>
<body>
{% if h2 %}
<h2>{{ h2 }}</h2>
{% endif %}