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,39 +1,41 @@
{% load static %} {% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<meta charset="UTF-8" /> <head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
{% comment %} favicon {% endcomment %} <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" <!-- favicon -->
href="{% static 'img/favicon.ico' %}" <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon">
type="image/x-icon"> <!-- <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"> -->
{% comment %} css {% endcomment %} <link rel="stylesheet" href="https://bootswatch.com/5/spacelab/bootstrap.min.css">
<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> <!-- custom header -->
{% comment %} custom header {% endcomment %} {% block header %}
{% block header %} {% endblock header %}
{% endblock header %} </head>
</head>
<body> <body>
<!--navbar--> <!--navbar-->
{% block navbar %} {% block navbar %}
{% include "partials/_navbar.html" %} {% include "partials/_navbar.html" %}
{% endblock navbar %} {% endblock navbar %}
<!--content--> <!--content-->
<div class="container"> <div class="container">
{% block content %} {% block content %}
{% endblock content %} {% endblock content %}
</div> </div>
<!--footer--> <!--footer-->
{% block footer %} {% block footer %}
{% 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"
</body> integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</body>