Improve feed links with correct attributes. Minor white space fix.
This commit is contained in:
parent
b6f2b9168b
commit
1424e300d8
1 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
{{ $length := (len $list) -}}
|
||||
{{ if $list -}}
|
||||
<p>Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $list -}}
|
||||
<a href="{{ .Permalink | safeURL }}">{{ .Name }}</a>{{ if ne (add $index 1) $length }} | {{ end }}
|
||||
<a rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">{{ .Name }}</a>{{ if ne (add $index 1) $length }} | {{ end }}
|
||||
{{- end -}}
|
||||
</p>
|
||||
{{ end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue