blob: 02ab1b55dd382621e719243739df3a26b458d742 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<!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">
<!-- Prevent Flash of Unstyled Content -->
<script src="{{ static_file('js/fouc.js') }}"></script>
<!-- Other JS loads -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script>
<!-- Static stuff -->
<link rel="shortcut icon" href="{{ static_file('favicon.ico') }}">
<link rel="stylesheet" href="{{ static_file('uikit_blurple.css') }}"/>
<link rel="stylesheet" href="{{ static_file('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 uk-flex uk-flex-column">
{% include "main/navigation.html" %}
<div class="uk-flex uk-flex-row uk-flex-1">
<div class="uk-card uk-card-body uk-flex-left uk-flex">
<ul class="uk-nav-default uk-nav-parent-icon" uk-nav>
{% if (can_edit or debug) and current_page == "page" %}
<li>
<a href="{{ url_for("wiki.edit", page=page) }}">
<i class="fas fa-pencil-alt"></i> Edit
</a>
</li>
<li class="uk-nav-divider"></li>
{% elif current_page == "edit" %}
<li>
<a href="{{ url_for("wiki.page", page=page) }}">
<i class="fas fa-arrow-left fa-fw"></i> Back
</a>
</li>
<li class="uk-nav-divider"></li>
{% endif %}
<li class="uk-active"><a href="#">Placeholder</a></li>
<li class="uk-parent">
<a href="#">Parent</a>
<ul class="uk-nav-sub">
<li><a href="#">Sub item</a></li>
<li><a href="#">Sub item</a></li>
</ul>
</li>
<li class="uk-parent">
<a href="#">Parent</a>
<ul class="uk-nav-sub">
<li><a href="#">Sub item</a></li>
<li><a href="#">Sub item</a></li>
</ul>
</li>
<li class="uk-nav-header">Header</li>
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: table"></span> Item</a></li>
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: thumbnails"></span> Item</a></li>
<li class="uk-nav-divider"></li>
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: trash"></span> Item</a></li>
</ul>
</div>
<div class="uk-section" style="flex-grow: 1; margin: 0 1rem 1rem;">
{% block content %}{% endblock %}
</div>
</div>
</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_file('js/countdown.js') }}'></script>
</body>
</html>
|