aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2020-09-20 09:55:22 -0400
committerChristine Dodrill <me@christine.website>2020-09-20 09:55:22 -0400
commit8c00c4b8c6ac971dc9d91d97235283fba612b364 (patch)
tree91e38193fd3b4fef766cfcb95d3a6afd52cff2c1 /templates
parentb544898624fb89199d8727c3ed0c5ff51849ebc2 (diff)
downloadxesite-8c00c4b8c6ac971dc9d91d97235283fba612b364.tar.xz
xesite-8c00c4b8c6ac971dc9d91d97235283fba612b364.zip
syntax highlighting
Diffstat (limited to 'templates')
-rw-r--r--templates/blogpost.rs.html1
-rw-r--r--templates/header.rs.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html
index d90a8e3..29cfd74 100644
--- a/templates/blogpost.rs.html
+++ b/templates/blogpost.rs.html
@@ -120,4 +120,5 @@
@}
</script>
+<script src="https://cdn.christine.website/file/christine-static/prism/prism.js"></script>
@:footer_html()
diff --git a/templates/header.rs.html b/templates/header.rs.html
index 56fb8e9..37e6eb2 100644
--- a/templates/header.rs.html
+++ b/templates/header.rs.html
@@ -14,6 +14,7 @@
<link rel="stylesheet" href="/css/hack.css" />
<link rel="stylesheet" href="/css/gruvbox-dark.css" />
<link rel="stylesheet" href="/css/shim.css" />
+ <link rel="stylesheet" href="https://cdn.christine.website/file/christine-static/prism/prism.css" />
@if Utc::now().month() == 12 { <link rel="stylesheet" href="/css/snow.css" /> }
<link rel="manifest" href="/static/manifest.json" />