From b31c68825cd3f8e65b92f261da00f9391689e89c Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Fri, 2 Aug 2024 21:37:52 +0200 Subject: [PATCH] Move asciinema player to css/ and js/ directories --- themes/hugo-theme-notrack/layouts/partials/head.html | 6 +++--- themes/hugo-theme-notrack/layouts/shortcodes/asciinema.html | 2 +- .../static/{asciinema => css}/asciinema-player.css | 0 .../static/{asciinema => js}/asciinema-player.min.js | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename themes/hugo-theme-notrack/static/{asciinema => css}/asciinema-player.css (100%) rename themes/hugo-theme-notrack/static/{asciinema => js}/asciinema-player.min.js (100%) diff --git a/themes/hugo-theme-notrack/layouts/partials/head.html b/themes/hugo-theme-notrack/layouts/partials/head.html index 295c414..4d004b6 100644 --- a/themes/hugo-theme-notrack/layouts/partials/head.html +++ b/themes/hugo-theme-notrack/layouts/partials/head.html @@ -1,9 +1,9 @@ {{ .Site.Title }} {{ with .Title }}- {{ . }} {{ end }} - - - + + + {{ $options := dict "transpiler" "libsass" "targetPath" "css/styles.css" -}} {{ $style := resources.Get "styles.scss" | toCSS $options | minify | fingerprint -}} diff --git a/themes/hugo-theme-notrack/layouts/shortcodes/asciinema.html b/themes/hugo-theme-notrack/layouts/shortcodes/asciinema.html index f3989b1..0552f5f 100644 --- a/themes/hugo-theme-notrack/layouts/shortcodes/asciinema.html +++ b/themes/hugo-theme-notrack/layouts/shortcodes/asciinema.html @@ -1,2 +1,2 @@ -
+
diff --git a/themes/hugo-theme-notrack/static/asciinema/asciinema-player.css b/themes/hugo-theme-notrack/static/css/asciinema-player.css similarity index 100% rename from themes/hugo-theme-notrack/static/asciinema/asciinema-player.css rename to themes/hugo-theme-notrack/static/css/asciinema-player.css diff --git a/themes/hugo-theme-notrack/static/asciinema/asciinema-player.min.js b/themes/hugo-theme-notrack/static/js/asciinema-player.min.js similarity index 100% rename from themes/hugo-theme-notrack/static/asciinema/asciinema-player.min.js rename to themes/hugo-theme-notrack/static/js/asciinema-player.min.js