From b2cb9dbc7a49292157c5a57fd9c55c3a01cf2d09 Mon Sep 17 00:00:00 2001 From: Konstantin Kollar Date: Sun, 14 Apr 2024 16:34:54 +0200 Subject: [PATCH] design changes for listicles in blog view --- themes/bluewater/layouts/_default/baseof.html | 2 +- themes/bluewater/layouts/blog/list.html | 41 ++++++++++++------- themes/bluewater/layouts/partials/header.html | 2 +- themes/bluewater/tailwind.css | 6 +++ 4 files changed, 34 insertions(+), 17 deletions(-) diff --git a/themes/bluewater/layouts/_default/baseof.html b/themes/bluewater/layouts/_default/baseof.html index 8ef1d75..0682658 100644 --- a/themes/bluewater/layouts/_default/baseof.html +++ b/themes/bluewater/layouts/_default/baseof.html @@ -6,7 +6,7 @@
-
+
{{- partial "header.html" . -}}
diff --git a/themes/bluewater/layouts/blog/list.html b/themes/bluewater/layouts/blog/list.html index a1089ed..41385b1 100644 --- a/themes/bluewater/layouts/blog/list.html +++ b/themes/bluewater/layouts/blog/list.html @@ -1,23 +1,34 @@ {{ define "main" }}
{{ range .Pages }} -
- - {{ $image := .Resources.GetMatch "header" }} - {{ with $image }} - {{ $image := $image.Fill "1024x512 Center webp" }} - - {{ end }} -
- {{ .Title }} -
+ {{ end }}
diff --git a/themes/bluewater/layouts/partials/header.html b/themes/bluewater/layouts/partials/header.html index 278645c..e21f598 100644 --- a/themes/bluewater/layouts/partials/header.html +++ b/themes/bluewater/layouts/partials/header.html @@ -1,5 +1,5 @@