From 8f3d03b1888fed23e6aa07d6077045e673357481 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 28 Aug 2024 22:54:34 +0200 Subject: sync theme --- themes/blowfish/layouts/partials/home/hero.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'themes/blowfish/layouts/partials/home/hero.html') diff --git a/themes/blowfish/layouts/partials/home/hero.html b/themes/blowfish/layouts/partials/home/hero.html index 7a0a511..6f5be3a 100644 --- a/themes/blowfish/layouts/partials/home/hero.html +++ b/themes/blowfish/layouts/partials/home/hero.html @@ -28,7 +28,7 @@ {{ end }}
- {{ with .Site.Author.image }} + {{ with .Site.Params.Author.image }} {{ $authorImage := "" }} {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} {{ $authorImage = resources.GetRemote . }} @@ -37,22 +37,22 @@ {{ end }} {{ if $authorImage }} {{ if not $disableImageOptimization }} - {{ $authorImage = $authorImage.Fill "288x288" }} + {{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Params.Author.imagequality | default "96" )) }} {{ end }} {{ $.Site.Author.name | default + alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" /> {{ end }} {{ end }}

- {{ .Site.Author.name | default .Site.Title }} + {{ .Site.Params.Author.name | default .Site.Title }}

- {{ with .Site.Author.headline }} + {{ with .Site.Params.Author.headline }}

{{ . | markdownify }}

{{ end }}
- {{ with .Site.Author.links }} + {{ with .Site.Params.Author.links }}
{{ range $links := . }} {{ range $name, $url := $links }} -- cgit v1.2.3