mirror of https://github.com/jpanther/congo.git
author.image SmartCrop Issue
parent
1a9a76d532
commit
dacf98f197
|
@ -3,7 +3,7 @@
|
|||
{{ with .Site.Author.image }}
|
||||
{{ $authorImage := resources.Get . }}
|
||||
{{ if $authorImage }}
|
||||
{{ $authorImage := $authorImage.Fill "192x192" }}
|
||||
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
|
||||
<img
|
||||
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
|
||||
width="96"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ with .Site.Author.image }}
|
||||
{{ $authorImage := resources.Get . }}
|
||||
{{ if $authorImage }}
|
||||
{{ $authorImage := $authorImage.Fill "288x288" }}
|
||||
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
||||
<img
|
||||
class="mb-2 rounded-full h-36 w-36"
|
||||
width="144"
|
||||
|
|
Loading…
Reference in New Issue