{{ $list := .AlternativeOutputFormats -}} {{ $length := (len $list) -}} {{ if $list -}}
Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $list -}} {{ .Name }}{{ if ne (add $index 1) $length }} | {{ end }} {{- end -}}
{{ end -}}