author.image SmartCrop Issue

pull/527/head
MChlebosz 2023-04-07 00:40:56 +02:00
parent 1a9a76d532
commit dacf98f197
No known key found for this signature in database
GPG Key ID: FDCDC60B0A5C9A93
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }} {{ $authorImage := resources.Get . }}
{{ if $authorImage }} {{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "192x192" }} {{ $authorImage := $authorImage.Fill "192x192 Center" }}
<img <img
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full" class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
width="96" width="96"

View File

@ -7,7 +7,7 @@
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }} {{ $authorImage := resources.Get . }}
{{ if $authorImage }} {{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "288x288" }} {{ $authorImage := $authorImage.Fill "288x288 Center" }}
<img <img
class="mb-2 rounded-full h-36 w-36" class="mb-2 rounded-full h-36 w-36"
width="144" width="144"