You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
958 B
35 lines
958 B
9 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
{% block title %}
|
||
|
<title>Keep pollin', pollin', pollin', pollin'</title>
|
||
|
{% endblock %}
|
||
|
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
||
|
<!-- Add additional CSS in static file -->
|
||
|
{% load static %}
|
||
|
<link rel="stylesheet" href="{% static 'css/style.css' %}"/>
|
||
|
|
||
|
<script
|
||
|
src="https://unpkg.com/htmx.org@1.9.8"
|
||
|
integrity="sha384-rgjA7mptc2ETQqXoYC3/zJvkU7K/aP44Y+z7xQuJiVnB/422P/Ak+F/AqFR7E4Wr"
|
||
|
crossorigin="anonymous"
|
||
|
></script>
|
||
|
<script src="https://unpkg.com/hyperscript.org@0.9.12"></script>
|
||
|
|
||
|
{% block extra-head %}{% endblock %}
|
||
|
</head>
|
||
|
<body>
|
||
|
<script>
|
||
|
document.body.addEventListener('htmx:configRequest', (event) => {
|
||
|
event.detail.headers['X-CSRFToken'] = '{{ csrf_token }}';
|
||
|
})
|
||
|
</script>
|
||
|
<div class="content">
|
||
|
{% block content %}{% endblock %}
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|