base template

This commit is contained in:
Riccardo Berto 2021-05-27 21:29:06 +02:00
parent 5c2d6f6ae8
commit 48e041a929

20
views/base.django Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html class="h-100">
<head>
{% block head %}{% endblock %}
<title>{% block title %}{% endblock %}</title>
</head>
<body>
{% block content %}{% endblock %}
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<span class="text-muted">Website &#169; {{ year }}</span>
</div>
</footer>
{% block script %}{% endblock %}
</body>
</html>