From d605b77f6255a605d5afb9cd78649b1d7e301128 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 5 Apr 2026 08:41:04 +0200 Subject: layout: create base layout, header, footer, hero, and post card partials --- layouts/_partials/post-card.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 layouts/_partials/post-card.html (limited to 'layouts/_partials/post-card.html') diff --git a/layouts/_partials/post-card.html b/layouts/_partials/post-card.html new file mode 100644 index 0000000..7dd8c9a --- /dev/null +++ b/layouts/_partials/post-card.html @@ -0,0 +1,16 @@ +{{ $featured := .featured }} +
+ {{ if .image }} + {{ .title }} + {{ else }} +
+ {{ end }} +
+
{{ .type }}
+

{{ .title }}

+

{{ .description }}

+
+ {{ dateFormat "Jan 2, 2006" .date }} +
+
+
-- cgit v1.2.3