Hi, I have just start using gotmplfmt. And it did a great job formatting my templates. But I keep having an error.
On
<podcast:trailer
{{ printf "pubdate=%q" (.Date.Format .Site.Params.date_format_RSS) | safeHTMLAttr }}
{{ if .Params.podcast.mlength -}}
url="{{ .Params.podcast.URLprefix | default .CurrentSection.Params.URLprefix }}{{ .Params.podcast.URLhost | default .CurrentSection.Params.URLhost }}{{ .Params.podcast.audio }}.mp3"
length="{{ .Params.podcast.mlength }}" type="audio/mpeg"
{{- end }}
season="{{ .Params.podcast.trailer }}"
>{{ $pg.Params.title | truncate 128 }}</podcast:trailer>
It keeps adding </podcast> instead of respecting the </podcast:trailer>.
></podcast>{{ $pg.Params.title | truncate 128 }}</podcast:trailer>
Any pointers if this can be fixed on my part/code?
PD: The output fixed -> https://kdeexpress.gitlab.io/feed
Hi, I have just start using gotmplfmt. And it did a great job formatting my templates. But I keep having an error.
On
It keeps adding
</podcast>instead of respecting the</podcast:trailer>.></podcast>{{ $pg.Params.title | truncate 128 }}</podcast:trailer>Any pointers if this can be fixed on my part/code?
PD: The output fixed -> https://kdeexpress.gitlab.io/feed