bootstrap and bootswatch from internet

This commit is contained in:
gw3000 2023-06-10 15:43:19 +02:00
parent f72425f354
commit 81b4364785

View file

@ -1,25 +1,25 @@
{% load static %} {% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% comment %} favicon {% endcomment %} <!-- favicon -->
<link rel="shortcut icon" <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon">
href="{% static 'img/favicon.ico' %}" <!-- <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"> -->
type="image/x-icon"> <link rel="stylesheet" href="https://bootswatch.com/5/spacelab/bootstrap.min.css">
{% comment %} css {% endcomment %}
<link rel="stylesheet" href="{% static 'css/style.css' %}"> <link rel="stylesheet" href="{% static 'css/style.css' %}">
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"> <!-- possible dynamic header -->
{% comment %} possible dynamic header {% endcomment %}
<title> <title>
{% block head_title %}Fallen Birdy{% endblock head_title %} {% block head_title %}Fallen Birdy{% endblock head_title %}
</title> </title>
{% comment %} custom header {% endcomment %} <!-- custom header -->
{% block header %} {% block header %}
{% endblock header %} {% endblock header %}
</head> </head>
<body> <body>
<!--navbar--> <!--navbar-->
{% block navbar %} {% block navbar %}
@ -35,5 +35,7 @@
{% include "partials/_footer.html" %} {% include "partials/_footer.html" %}
{% endblock footer %} {% endblock footer %}
<!-- JavaScript Bundle with Popper --> <!-- JavaScript Bundle with Popper -->
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</body> </body>