From a324ba7b649840c16d365b757b19db2849991f11 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 30 Jun 2025 14:48:34 +0200 Subject: WIP --- 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..21eeebf --- /dev/null +++ b/themes/conspiracy/layouts/_partials/card.html @@ -0,0 +1,17 @@ +
+ {{- if .Title }}

{{ .Title }}

{{- end }} + {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}{{ .Date.Format "2006-01-02" }}{{- end }} + +
+ {{ .Summary | safeHTML }} + Read more +
+ + {{- if .Params.external_links }} + + {{- end }} +
-- cgit