From 92e3b5f49f6f5336530988e7839ab3ed283b86e4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 19 Mar 2023 00:53:31 +0100 Subject: Big site update --- themes/conspiracy/layouts/partials/card.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/conspiracy/layouts/partials/card.html (limited to 'themes/conspiracy/layouts/partials/card.html') diff --git a/themes/conspiracy/layouts/partials/card.html b/themes/conspiracy/layouts/partials/card.html new file mode 100644 index 0000000..167a9d5 --- /dev/null +++ b/themes/conspiracy/layouts/partials/card.html @@ -0,0 +1,17 @@ +
+ {{- if .Title }}

{{ .Title }}

{{- end }} + {{- if .Date }}{{ .Date.Format "2006-01-02" }}{{- end }} + +
+ {{ .Summary | safeHTML }} + Read more +
+ + {{- if .Params.external_links }} + + {{- end }} +
-- cgit