Chomp trailing newline in shortcodes.

This commit is contained in:
Fredrik Jonsson 2025-04-11 18:31:55 +02:00
commit 5bc5ce9a58

View file

@ -1 +1 @@
{{ with site.GetPage (.Get 0) }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ end }}
{{ with site.GetPage (.Get 0) }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ end -}}