Improve feed links with correct attributes. Minor white space fix.

This commit is contained in:
Fredrik Jonsson 2018-07-02 12:20:18 +02:00
commit 1424e300d8
2 changed files with 1 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{{ $length := (len $list) -}} {{ $length := (len $list) -}}
{{ if $list -}} {{ if $list -}}
<p>Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $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 -}} {{- end -}}
</p> </p>
{{ end -}} {{ end -}}

View file

@ -92,7 +92,6 @@ article {
& > header { & > header {
color: color('text-meta'); color: color('text-meta');
p { p {
@include margin(.2 0); @include margin(.2 0);
} }