add webp conversion to about section

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
jamesk-patch-1
Toshaan Bharvani 3 years ago
parent 24c3bf512e
commit 37623fa21c

@ -14,7 +14,7 @@
{{ $imageresource := resources.Get $imagelocation }}
{{ if $imageresource }}
<figure class="figure d-flex pt-0 pt-lg-3">
{{ $image := $imageresource.Fit "600x600" }}
{{ $image := $imageresource.Fit "600x600 webp" }}
<img class="img-fluid" src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
</figure>
{{ end }}

Loading…
Cancel
Save