blob: bda6d954653359f40da13a60833c50d1d83af436 (
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
|
{% extends 'base/base.html' %}
{% load static %}
{% load page_src %}
{% block title %}{{ page_title }}{% endblock %}
{% block head %}
<meta property="og:title" content="Python Discord - {{ page_title }}" />
<meta property="og:type" content="website" />
<meta property="og:description" content="{{ page_description }}" />
<link rel="stylesheet" href="{% static "css/content/page.css" %}">
<link rel="stylesheet" href="{% static "css/collapsibles.css" %}">
<link rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/styles/atom-one-dark.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<script src="{% static "js/collapsibles.js" %}"></script>
{% endblock %}
{% block content %}
{% include "base/navbar.html" %}
<section class="breadcrumb-section section">
<div class="container">
{# Article breadcrumb #}
<nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs">
<ul>
{% for item in breadcrumb_items %}
<li><a href="{% url "content:page_category" location=item.path %}">{{ item.name }}</a></li>
{% endfor %}
<li class="is-active"><a href="#">{{ page_title }}</a></li>
</ul>
</nav>
</div>
<div class="is-flex is-pulled-right is-right">
{# Sub-Article dropdown for category pages #}
{% if subarticles %}
{% include "content/dropdown.html" %}
{% endif %}
{# Edit on GitHub for content articles #}
{% if page and not tag %}
<div id="edit-on-github">
<a href="{{ request.path | page_src_url }}">
<i class="fa-solid fa-pencil"></i>
Edit on GitHub
</a>
</div>
{% endif %}
</div>
</section>
<section class="section">
<div class="container">
<div class="content">
<h1 class="title">{% block title_element %}{{ page_title }}{% endblock %}</h1>
{% block page_content %}{% endblock %}
</div>
</div>
</section>
{% endblock %}
|