From 9f3e95297389703102396d592f5432e332ed4a9d Mon Sep 17 00:00:00 2001 From: gluap Date: Fri, 2 Feb 2024 12:36:57 +0100 Subject: [PATCH] downsize logo --- layouts/shortcodes/blocks/cover.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/blocks/cover.html b/layouts/shortcodes/blocks/cover.html index 6193ef28..aabb7062 100644 --- a/layouts/shortcodes/blocks/cover.html +++ b/layouts/shortcodes/blocks/cover.html @@ -30,7 +30,7 @@
- {{ with .Get "title" }}

{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "700x700 %s" $logo_anchor)) }}{{ end }}

{{ end }} + {{ with .Get "title" }}

{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "300x300 %s" $logo_anchor)) }}{{ end }}

{{ end }} {{ with .Get "subtitle" }}

{{ . | html }}

{{ end }}
{{ if eq .Page.File.Ext "md" }}