From 6c9ebed829a219b9ba38413876ff1e53da535e77 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 6 Mar 2022 16:30:06 +0100 Subject: [PATCH 1/2] Fixed display of post excerpts Missing p tag --- layouts/partials/list-post.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/partials/list-post.html b/layouts/partials/list-post.html index facfdaa..bff417b 100644 --- a/layouts/partials/list-post.html +++ b/layouts/partials/list-post.html @@ -17,7 +17,11 @@ {{ end }}

-{{ .Summary }} + +

+ {{ .Summary }} +

+ {{- if .Truncated -}} -

Read more

+

Read more

{{- end -}} From 78a150b86e4858e4ca87572f639ee0e29fb77e90 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 6 Mar 2022 16:30:31 +0100 Subject: [PATCH 2/2] Add support for ukraine info on every page --- layouts/_default/baseof.html | 1 + layouts/partials/support-ukraine.html | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 layouts/partials/support-ukraine.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a8ef6d1..2c86161 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,6 +6,7 @@ {{- partial "header.html" . -}}
+ {{- partial "support-ukraine.html" -}} {{- block "main" . }}{{- end }}