Merge pull request #111 from Dekker500/patch-1
Optimizing author image thumbnail generation
This commit is contained in:
commit
c054218f1b
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue