Merge pull request #111 from Dekker500/patch-1

Optimizing author image thumbnail generation
This commit is contained in:
Nusser Studios 2023-04-29 08:14:37 -05:00 committed by GitHub
commit c054218f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
<span class="sr-only">{{ .Params.author }}</span>
{{ with .Params.authorimage }}
{{ with resources.Get . }}
{{ $authorimage := (.Resize "400x webp").RelPermalink }}
{{ $authorimage := (.Resize "40x webp").RelPermalink }}
<img class="w-10 h-10 rounded-full" src="{{ $authorimage }}" alt="">
{{ end }}
{{ end }}