diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html index 302b90a..4a061b7 100644 --- a/layouts/partials/summary.html +++ b/layouts/partials/summary.html @@ -1,9 +1,7 @@ -{{ if eq .Section "posts" }} +{{ if .Content }} {{ .Summary | plainify | chomp }}{{ if .Truncated }}…{{ end }} {{ else if .Params.subtitle }} {{ .Params.subtitle | markdownify }} -{{ else if .Content }} - {{ .Summary | plainify | chomp }}{{ if .Truncated }}…{{ end }} {{ else if .Params.repo }} {{ (getJSON "https://api.github.com/repos/" .Params.repo).description }} {{ else if .Params.gist }}