templates: use inheritance

This commit is contained in:
Emi Vasilek 2023-11-05 11:52:10 +01:00
parent 3d3f0b0012
commit f813ae5ac3
3 changed files with 33 additions and 34 deletions

11
templates/base.html Normal file
View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<meta charset="utf-8">
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>