aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-28 09:40:50 +0200
committerGravatar ks129 <[email protected]>2020-11-28 09:40:50 +0200
commit1be5c3eb1310345aaf8abc09d452d27fa87b960c (patch)
tree9caa30863744063e27a1d8218c0d1211590a2c02 /pydis_site/templates
parentUse file instead directory for code jam 1 (diff)
Add highlight.js to event pages
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/events/base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/pydis_site/templates/events/base.html b/pydis_site/templates/events/base.html
index 4aa5056d..2c33b563 100644
--- a/pydis_site/templates/events/base.html
+++ b/pydis_site/templates/events/base.html
@@ -3,6 +3,10 @@
{% block head %}
<link rel="stylesheet" href="{% static "css/events/base.css" %}">
+ <link rel="stylesheet"
+ href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/styles/atom-one-dark-reasonable.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/highlight.min.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
{% endblock %}
{% block content %}