aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/content/base.html
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2022-11-23 12:16:42 -0800
committerGravatar GitHub <[email protected]>2022-11-23 12:16:42 -0800
commit0ff39f6cef7d889cc2e14918d65ffaaf05efec6f (patch)
tree786ee6288cd0a7e02bd5480a1d12972bf8ccd796 /pydis_site/templates/content/base.html
parentUse 4 spaces as tab (diff)
parentMerge pull request #800 from python-discord/dependabot/pip/httpx-0.23.1 (diff)
Merge branch 'main' into discordpy-error-handling
Diffstat (limited to 'pydis_site/templates/content/base.html')
-rw-r--r--pydis_site/templates/content/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/templates/content/base.html b/pydis_site/templates/content/base.html
index 4a19a275..2fd721a3 100644
--- a/pydis_site/templates/content/base.html
+++ b/pydis_site/templates/content/base.html
@@ -8,6 +8,10 @@
<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 %}
@@ -35,7 +39,7 @@
<section class="section">
<div class="container">
<div class="content">
- <h1 class="title">{{ page_title }}</h1>
+ <h1 class="title">{% block title_element %}{{ page_title }}{% endblock %}</h1>
{% block page_content %}{% endblock %}
</div>
</div>