summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-02-09 16:18:12 +0100
committerMichał M. Sapka <michal@sapka.me>2023-02-09 16:18:12 +0100
commitcb0dd5a10dbde4bd5135c0046b270e9299211c3b (patch)
tree40e36d23e5b1c62dca95ebe2e5421c7d6a7533fe /layouts/_default
parent38d46a1b8a37993a0f3f7c336cc74232077e5529 (diff)
chore: use webp in modern shortcodes
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 29d16e0..0fdb00a 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -48,7 +48,7 @@
<div id="logo-space">
<a href="/">
{{ $image := resources.Get "logo.png" }}
- {{ $image := $image.Resize "x160" }}
+ {{ $image := $image.Resize "x160 webpn" }}
<div id="logo">
<img alt="logo" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/>
</div>