bootstrap and bootswatch from internet
This commit is contained in:
parent
f72425f354
commit
81b4364785
1 changed files with 38 additions and 36 deletions
|
@ -1,39 +1,41 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{% comment %} favicon {% endcomment %}
|
||||
<link rel="shortcut icon"
|
||||
href="{% static 'img/favicon.ico' %}"
|
||||
type="image/x-icon">
|
||||
{% comment %} css {% endcomment %}
|
||||
<link rel="stylesheet" href="{% static 'css/style.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
|
||||
{% comment %} possible dynamic header {% endcomment %}
|
||||
<title>
|
||||
{% block head_title %}Fallen Birdy{% endblock head_title %}
|
||||
</title>
|
||||
{% comment %} custom header {% endcomment %}
|
||||
{% block header %}
|
||||
{% endblock header %}
|
||||
</head>
|
||||
<body>
|
||||
<!--navbar-->
|
||||
{% block navbar %}
|
||||
{% include "partials/_navbar.html" %}
|
||||
{% endblock navbar %}
|
||||
<!--content-->
|
||||
<div class="container">
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
</div>
|
||||
<!--footer-->
|
||||
{% block footer %}
|
||||
{% include "partials/_footer.html" %}
|
||||
{% endblock footer %}
|
||||
<!-- JavaScript Bundle with Popper -->
|
||||
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>
|
||||
</body>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<!-- favicon -->
|
||||
<link rel="shortcut icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon">
|
||||
<!-- <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"> -->
|
||||
<link rel="stylesheet" href="https://bootswatch.com/5/spacelab/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{% static 'css/style.css' %}">
|
||||
<!-- possible dynamic header -->
|
||||
<title>
|
||||
{% block head_title %}Fallen Birdy{% endblock head_title %}
|
||||
</title>
|
||||
<!-- custom header -->
|
||||
{% block header %}
|
||||
{% endblock header %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--navbar-->
|
||||
{% block navbar %}
|
||||
{% include "partials/_navbar.html" %}
|
||||
{% endblock navbar %}
|
||||
<!--content-->
|
||||
<div class="container">
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
</div>
|
||||
<!--footer-->
|
||||
{% block footer %}
|
||||
{% include "partials/_footer.html" %}
|
||||
{% endblock footer %}
|
||||
<!-- JavaScript Bundle with Popper -->
|
||||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue