Skip to content

Commit

Permalink
no a and cast before casts
Browse files Browse the repository at this point in the history
  • Loading branch information
jackliusr committed Nov 22, 2023
1 parent 11151ff commit e8bbad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/asciinema.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id='{{ with .Get "key" }}{{ . }}{{ end }}'></div>
<script src="{{ .Site.BaseURL }}/js/asciinema-player.min.js"></script>
<script>
AsciinemaPlayer.create('/a/{{ with .Get "key" }}{{ . }}{{ end }}.cast', document.getElementById('{{ with .Get "key" }}{{ . }}{{ end }}'), {
AsciinemaPlayer.create('/{{ with .Get "key" }}{{ . }}{{ end }}.cast', document.getElementById('{{ with .Get "key" }}{{ . }}{{ end }}'), {
{{ if .Get "cols" }}cols: "{{ .Get "cols" }}", {{ end }}
{{ if .Get "rows" }}rows: "{{ .Get "rows" }}", {{ end }}
{{ if .Get "autoPlay" }}autoPlay: "{{ .Get "autoPlay" }}", {{ end }}
Expand Down

0 comments on commit e8bbad4

Please sign in to comment.