From f0506acd6f70da636b8fdb23439c85bbf2392b40 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Sat, 16 Aug 2025 22:42:03 +0200 Subject: HTML templates done --- layouts/partials/list/post-card.html | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 layouts/partials/list/post-card.html (limited to 'layouts/partials/list/post-card.html') diff --git a/layouts/partials/list/post-card.html b/layouts/partials/list/post-card.html new file mode 100644 index 0000000..12eada4 --- /dev/null +++ b/layouts/partials/list/post-card.html @@ -0,0 +1,45 @@ +{{- $post := . }} +
+
+

+ + {{ $post.Title }} + +

+
+ + {{- with $post.ReadingTime }} +

+ {{ lang.Translate "list.reading_time" . | default (printf "Estimated reading time: %s min" .) }} +

+ {{- end }} +
+
+ + {{- with $post.Summary }} +
+ {{ . }} +
+ {{- end }} + + {{- with $post.Params.tags }} + + {{- end }} +
-- cgit v1.2.3