django-blog-for-html-over-t.../app/website/templates/base.html
Andros Fenollosa 96b4a45f1d First commit
2022-05-15 20:58:36 +02:00

23 lines
747 B
HTML

{% load static %}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Example website</title>
<link rel="stylesheet" href="{% static 'css/main.css' %}">
<script defer src="{% static 'js/index.js' %}"></script>
</head>
<body
data-host="{{ request.get_host }}"
data-scheme="{{ request.scheme }}"
>
<div class="container">
<header>
<nav id="nav" class="nav">{% include 'components/_nav.html' %}</nav>
</header>
<main id="main">{% include page %}</main>
<footer class="footer">My footer</footer>
</div>
</body>
</html>