fix: gist corb error

This commit is contained in:
ZhenShuo Leo
2025-07-11 18:49:05 +08:00
parent 2c71bda97f
commit fed64fa58d

View File

@@ -1,3 +1,3 @@
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{ if len .Params | eq 3 }}
?file={{ index .Params 2 }}
{{ end }}"></script>
<script src="https://gist.github.com/{{- index .Params 0 -}}/{{- index .Params 1 -}}.js{{- if len .Params | eq 3 -}}
?file={{- index .Params 2 -}}
{{- end -}}"></script>