diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ff0bb14a2..bafea193d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -42,18 +42,12 @@

{{ .Title | markdownify }} {{ with .Description }} {{ . | markdownify }} {{ else }} - {{ if .Truncated }} - {{ .Summary }} + {{ .Summary | markdownify }} + {{ if and .Truncated (not .Params.hideReadMore) }} +
{{ $.Site.Params.ReadMore | default "Read more" }} →
{{ end }} {{ end }} - {{ if not .Params.hideReadMore }} -
- {{ $.Site.Params.ReadMore | default "Read more" }} → -
- {{ end }} {{ end }} {{ partial "pagination.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 64534818c..0810d5d00 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,7 +23,7 @@

{{ .Title | markdownify }}

>{{ end }} - {{ if $.Site.Params.ShowReadingTime }} + {{ if and $.Site.Params.ShowReadingTime (not .Params.hideReadingTime) }} — {{ .ReadingTime }} {{ $.Site.Params.MinuteReadingTime | default "min read" }}