From e4eecc6fcb115cedf71951e7fd5e7da10eb7679d Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Sat, 20 May 2017 21:45:29 +0200 Subject: [PATCH] Fixes to feedlinks and read more links. --- layouts/_default/summary.html | 2 +- layouts/partials/feedlinks.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 81fc70c..e773af4 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -5,6 +5,6 @@
{{ .Summary }} +

Read the rest of this posting

-Read the rest of this posting diff --git a/layouts/partials/feedlinks.html b/layouts/partials/feedlinks.html index d289466..8e6e27b 100644 --- a/layouts/partials/feedlinks.html +++ b/layouts/partials/feedlinks.html @@ -1,6 +1,8 @@ {{ $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 -}}