9 lines
361 B
HTML
9 lines
361 B
HTML
|
{{ $list := .AlternativeOutputFormats -}}
|
||
|
{{ $length := (len $list) -}}
|
||
|
{{ if $list -}}
|
||
|
<p>Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $list -}}
|
||
|
<a rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">{{ .Name }}</a>{{ if ne (add $index 1) $length }} | {{ end }}
|
||
|
{{- end -}}
|
||
|
</p>
|
||
|
{{ end -}}
|