podcast-mod/layouts/partials/licence.rss.xml
Florian Maury 4f148ac9c1 initial
2024-10-26 10:27:11 +02:00

9 lines
314 B
XML

{{- $indent := collections.Index . "indent" -}}
{{- $ctx := collections.Index . "context" -}}
{{- with $ctx.Params.licence -}}
{{- strings.Repeat $indent " " -}}
<podcast:licence url="{{- .url | transform.XMLEscape -}}">
{{- .name | transform.XMLEscape -}}
</podcast:licence>
{{- "\n" -}}
{{- end -}}