summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/scripts-end.html9
2 files changed, 4 insertions, 7 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f648160..7141a40 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -33,7 +33,7 @@
{{ template "_internal/twitter_cards.html" . }}
<!-- dep -->
-{{ $sass := resources.Get "fuji.scss" }}
+{{ $sass := resources.Get "scss/fuji.scss" }}
{{ $options := (dict "targetPath" "assets/css/fuji.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := $sass | resources.ToCSS $options }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html
index 220ee93..1e02812 100644
--- a/layouts/partials/scripts-end.html
+++ b/layouts/partials/scripts-end.html
@@ -1,11 +1,8 @@
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.2.2/lazysizes.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.5/dist/medium-zoom.min.js"></script>
-{{ if .Site.Params.customHighlight }}
-<script src="{{ .Site.Params.customHighlightURL | relURL }}"></script>
-{{ else }}
-<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.3/build/highlight.min.js"></script>
-{{ end }}
-<script src="{{ "/assets/js/fuji.dev.js" | relURL }}"></script>
+<script src="https://cdn.jsdelivr.net/npm/prismjs@1.20.0/components/prism-core.min.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/prismjs@1.20.0/plugins/autoloader/prism-autoloader.min.js"></script>
+<script src="{{ "/assets/js/fuji.js" | relURL }}"></script>
{{ with .Params.playerURL }}
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script>