mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 19:32:26 +02:00
Fix base template indentation and spacing
This commit is contained in:
parent
59ad699edf
commit
30ea525619
1 changed files with 49 additions and 46 deletions
|
@ -1,7 +1,8 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:type" content="website">
|
||||
|
@ -16,8 +17,9 @@
|
|||
{% block extra_css %}{% endblock extra_css %}
|
||||
{% endblock css %}
|
||||
<link rel="shortcut icon" href="{% static 'img/icons/chariotte.ico' %}">
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<!-- Top navbar -->
|
||||
<nav class="top-nav navbar">
|
||||
|
@ -124,9 +126,9 @@
|
|||
{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
<footer class="footer">
|
||||
<footer class="footer">
|
||||
<div class="content has-text-centered columns">
|
||||
<div class="column">
|
||||
<p>
|
||||
|
@ -137,7 +139,8 @@
|
|||
<a href="{% url 'legal_notice' %}">Mentions légales</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</footer>
|
||||
|
||||
</html>
|
||||
|
||||
<script>
|
||||
|
@ -148,7 +151,7 @@
|
|||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||
|
||||
// Add a click event on each of them
|
||||
$navbarBurgers.forEach( el => {
|
||||
$navbarBurgers.forEach(el => {
|
||||
el.addEventListener('click', () => {
|
||||
|
||||
// Get the target from the "data-target" attribute
|
||||
|
@ -163,5 +166,5 @@
|
|||
});
|
||||
|
||||
});
|
||||
{% block extra_js %}{% endblock %}
|
||||
{% block extra_js %} {% endblock %}
|
||||
</script>
|
Loading…
Reference in a new issue