diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e43b0f9..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.DS_Store diff --git a/layouts/shortcodes/postlist.html b/layouts/shortcodes/postlist.html index b26e6e1..ad372b1 100644 --- a/layouts/shortcodes/postlist.html +++ b/layouts/shortcodes/postlist.html @@ -18,53 +18,14 @@ {{- end -}} {{- end -}} -{{- if (ne (.Get "limit") "") -}} - {{- $pgr = $pgr.Limit (int (.Get "limit")) -}} -{{- end -}} - -{{- if (eq (.Get "display") "content") -}} - {{ if templates.Exists "partials/_postlist/post-content-before.html" }} - {{ partial "_postlist/post-content-before.html" $pgr }} - {{ end }} -
{{ .Summary | safeHTML }}
-