diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/layouts/partials/_postlist/post-content.html b/layouts/partials/_postlist/post-content.html new file mode 100644 index 0000000..e7a702e --- /dev/null +++ b/layouts/partials/_postlist/post-content.html @@ -0,0 +1,18 @@ +
+{{ if .Title }} +

{{ .Title }}

+ {{ if .Params.custom_summary }} +
+

{{ .Summary | safeHTML }}

+

+ {{ else }} +
+ {{ .Content }} +
+ {{ end }} +{{ else }} +
+ {{ .Content }} +
+{{ end }} +
\ No newline at end of file diff --git a/layouts/shortcodes/postlist.html b/layouts/shortcodes/postlist.html index ad372b1..d191a31 100644 --- a/layouts/shortcodes/postlist.html +++ b/layouts/shortcodes/postlist.html @@ -18,14 +18,26 @@ {{- end -}} {{- end -}} - \ No newline at end of file + +{{- end -}} \ No newline at end of file