refactor asciinema

This commit is contained in:
2025-05-26 17:48:23 -04:00
parent 55ab032dbf
commit 595325b5ad
4 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,8 @@
{{ if .Params.asciinema }}
{{ with resources.Get "vendor/asciinema/asciinema-player.css" | minify | fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ .RelPermalink }}" />
{{ end }}
{{ with resources.Get "vendor/asciinema/asciinema-player.min.js" | fingerprint }}
<script src="{{ .RelPermalink }}"></script>
{{ end }}
{{ end }}