You've already forked no-js-hugo-theme
refactor asciinema
This commit is contained in:
8
layouts/_partials/asciinema/head.html
Normal file
8
layouts/_partials/asciinema/head.html
Normal 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 }}
|
Reference in New Issue
Block a user