From 113d4e53416ddf42212da6f217670bdc6f0c9dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 1 Jan 2022 21:03:20 +0100 Subject: Import new minimalist design --- layouts/partials/post.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 layouts/partials/post.html (limited to 'layouts/partials/post.html') diff --git a/layouts/partials/post.html b/layouts/partials/post.html new file mode 100644 index 0000000..8eaadee --- /dev/null +++ b/layouts/partials/post.html @@ -0,0 +1,20 @@ +
+ +

{{.Title }}

+
+ {{ if isset .Params "image" }} + {{ $image := resources.Get .Params.image }} + {{ $image := $image.Resize (default "320x" .Params.thumbnail_size) }} +
+ +
+ {{ end }} +
+ {{ .Summary }} +
+
+
+{{ if isset .Params "metadata" }} +{{ partial "metadata.html" . }} +{{ end }} +
-- cgit v1.2.3