aboutsummaryrefslogtreecommitdiffstats
path: root/templates/main/base.html
blob: 596d47e8a5491b49cc753fbccc241dfe49ae71e4 (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
<!DOCTYPE html>
<html lang="en">
    <head>
        {% block head %}
            <title>Python Discord | {% block title %}{% endblock %}</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script>
            <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
            <link rel="stylesheet" href="/static/uikit_blurple.css"/>
            <link rel="stylesheet" href="/static/style.css"/>

            <!-- OpenGraph metadata -->
            <meta property="og:title" content="Python Discord | {% block og_title %}{% endblock %}">
            <meta property="og:description" content="{% block og_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 %}">
            <meta content="/static/logos/logo_discord.png" property="og:image">
        {% endblock %}
        {% block extra_head %}

        {% endblock %}
    </head>
    <body class="page-{{ current_page }}">
        <div class="uk-offcanvas-content">
            {% include "main/navigation.html" %}
            {% if current_page != "index" %}
                {% block beta_error %}
                    <div class="uk-container uk-section" style="padding-top: 10px; padding-bottom: 10px;">
                        <div class="uk-container uk-container-small">
                            <div class="uk-alert-danger" uk-alert>
                                <p>
                                    Please note: this site is under construction. What you see now may be vastly different
                                    from the final project state. Feel free to chat to us on Discord if you're curious!
                                </p>
                            </div>
                        </div>
                    </div>
                {% endblock %}
            {% endif %}
            {% block content %}{% endblock %}
        </div>

        <footer>
            <div class="uk-section uk-section-secondary uk-container-medium uk-text-meta">
                <div class="uk-text-center">
                    <p>This website uses <a href="https://python.org">Python</a> and <a href="http://flask.pocoo.org/">Flask</a>, and was developed collaboratively on <a href="https://github.com/discord-python/site">GitHub</a>.</p>
                </div>
            </div>
        </footer>

        <script src='/static/js/countdown.js'></script>
    </body>
</html>