diff --git a/layouts/shortcodes/postlist.html b/layouts/shortcodes/postlist.html index 804b850..7dc49d2 100644 --- a/layouts/shortcodes/postlist.html +++ b/layouts/shortcodes/postlist.html @@ -23,11 +23,17 @@ {{- end -}} {{- if (eq (.Get "display") "content") -}} + {{ if templates.Exists "partials/_postlist/post-content-before.html" }} + {{ partial "partials/_postlist/post-content-before.html" . }} + {{ end }}
{{ range $pgr }} {{ partial "_postlist/post-content.html" . }} {{ end }}
+ {{ if templates.Exists "partials/_postlist/post-content-after.html" }} + {{ partial "partials/_postlist/post-content-after.html" . }} + {{ end }} {{- else -}}