aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/base/base.html
blob: 905d408c707a0a6f68ee5fd07b6643b525db46cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{# Base template, with a few basic style definitions. #}
{% load django_simple_bulma %}
{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <meta name="description"
        content="{% block meta-description %}We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.{% endblock %}">

  {# Generated with https://realfavicongenerator.net/ #}
  <link rel="apple-touch-icon" sizes="180x180" href="/static/favicons/apple-touch-icon.png?v=9B9vkE5q7O">
  <link rel="icon" type="image/png" sizes="32x32" href="/static/favicons/favicon-32x32.png?v=9B9vkE5q7O">
  <link rel="icon" type="image/png" sizes="16x16" href="/static/favicons/favicon-16x16.png?v=9B9vkE5q7O">
  <link rel="manifest" href="/static/favicons/site.webmanifest?v=9B9vkE5q7O">
  <link rel="mask-icon" href="/static/favicons/safari-pinned-tab.svg?v=9B9vkE5q7O" color="#7289da">
  <link rel="shortcut icon" href="/static/favicons/favicon.ico?v=9B9vkE5q7O">
  <meta name="msapplication-TileColor" content="#7289da">
  <meta name="msapplication-config" content="/static/favicons/browserconfig.xml?v=9B9vkE5q7O">
  <meta name="theme-color" content="#7289da">

  <title>Python Discord | {% block title %}Website{% endblock %}</title>

  {% bulma %}

  {# Font-awesome here is defined explicitly so that we can have Pro #}
  <script src="https://kit.fontawesome.com/ae6a3152d8.js"></script>
  <script src="{% static "js/base/modal.js" %}"></script>

  <link rel="stylesheet" href="{% static "css/base/base.css" %}">
  <link rel="stylesheet" href="{% static "css/base/notification.css" %}">
  {% block head %}{% endblock %}

</head>
<body class="site">
  <!-- Git hash for this release: {{ git_sha }} -->

<main class="site-content">
  {% if messages %}
    <div class="messages">
      {% for message in messages %}
        <div class="notification {% if message.tags %}is-{{ message.tags }}{% endif %}">
          <button class="delete"></button>

          {{ message }}
        </div>
      {% endfor %}
    </div>
  {% endif %}

  {% block content %}
    {{ block.super }}
  {% endblock %}
</main>

{% block site_footer %}
  {% include "base/footer.html" %}
{% endblock %}

</body>
</html>