diff --git a/themes/hugo-theme-ipng/layouts/partials/head.html b/themes/hugo-theme-ipng/layouts/partials/head.html index df8d9b3..62bde11 100644 --- a/themes/hugo-theme-ipng/layouts/partials/head.html +++ b/themes/hugo-theme-ipng/layouts/partials/head.html @@ -3,7 +3,6 @@ {{ .Site.Title }} {{ with .Title }}- {{ . }} {{ end }} - {{ $options := dict "transpiler" "libsass" "targetPath" "css/styles.css" -}} {{ $style := resources.Get "styles.scss" | toCSS $options | minify | fingerprint -}} @@ -20,4 +19,8 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + {{ if eq .Params.asciinema true -}} + + + {{- end }} diff --git a/themes/hugo-theme-ipng/layouts/shortcodes/asciinema.html b/themes/hugo-theme-ipng/layouts/shortcodes/asciinema.html index 0552f5f..42a7c52 100644 --- a/themes/hugo-theme-ipng/layouts/shortcodes/asciinema.html +++ b/themes/hugo-theme-ipng/layouts/shortcodes/asciinema.html @@ -1,2 +1,2 @@ -
+