base template
This commit is contained in:
parent
5c2d6f6ae8
commit
48e041a929
20
views/base.django
Normal file
20
views/base.django
Normal 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 © {{ year }}</span>
|
||||
</div>
|
||||
</footer>
|
||||
{% block script %}{% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user