tpl/tplimpl: Deprecate gist shortcode

Closes #13211
This commit is contained in:
Joe Mooring
2025-01-23 10:43:31 -08:00
committed by Bjørn Erik Pedersen
parent a5637831cd
commit f42a4b6af5
2 changed files with 24 additions and 0 deletions

View File

@@ -1 +1,2 @@
{{- warnf "The %q shortcode was deprecated in v0.143.0 and will be removed in a future release. See https://gohugo.io/shortcodes/gist for instructions to create a replacement." .Name -}}
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script>