aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/content
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-03-23 15:08:44 +0800
committerGravatar kosayoda <[email protected]>2021-03-23 15:59:50 +0800
commit9723994c7044b554e3a0c5fe4e09aac728185c95 (patch)
tree2ccc28cacb2306cb964e154773d9b81ac76f8eba /pydis_site/templates/content
parentMerge branch 'dewikification' into guides-app (diff)
Update highlight.js script and use one dark style.
Unifies the highlighting with the events app.
Diffstat (limited to 'pydis_site/templates/content')
-rw-r--r--pydis_site/templates/content/article.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/templates/content/article.html b/pydis_site/templates/content/article.html
index c7b85567..fcb29f32 100644
--- a/pydis_site/templates/content/article.html
+++ b/pydis_site/templates/content/article.html
@@ -7,8 +7,9 @@
<meta property="og:type" content="website" />
<meta property="og:description" content="{{ article.metadata.short_description }}" />
<link rel="stylesheet" href="{% static "css/content/articles.css" %}">
- <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css">
- <script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
+ <link rel="stylesheet"
+ href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/styles/atom-one-dark-reasonable.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}