Merge pull request #2324 from ZhenShuo2021/fix/gist-corb

🐛 Fix: gist CORB error
This commit is contained in:
Nuno C.
2025-07-21 10:03:52 +01:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

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>