summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-07-13 16:11:55 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-07-13 16:11:55 -0400
commit5c79ade1400eb23e1565fe22602ef40439af2656 (patch)
tree5b48b909e1c3925caa688469ff8e61b081201dbd /_includes
parent9e5c439bf5dc12d8d42bbfd0eeb11b28c32c129b (diff)
downloadcarpentertutoring-5c79ade1400eb23e1565fe22602ef40439af2656.tar.xz
carpentertutoring-5c79ade1400eb23e1565fe22602ef40439af2656.zip
added fallbacks for webp because Safari/Apple still don't give a darn
Diffstat (limited to '_includes')
-rw-r--r--_includes/nav.liquid6
1 files changed, 5 insertions, 1 deletions
diff --git a/_includes/nav.liquid b/_includes/nav.liquid
index 963916b..e26d6bd 100644
--- a/_includes/nav.liquid
+++ b/_includes/nav.liquid
@@ -2,7 +2,11 @@
<nav class="navbar is-fixed-top">
<div class="navbar-brand">
<a class="navbar-item" href="/#">
- <img src="/assets/logo-simple.webp" />
+ <picture>
+ <source srcset="/assets/logo-simple.webp" type="image/webp" />
+ <source srcset="/assets/logo-simple.png" type="image/png" />
+ <img src="/assets/logo-simple.png" />
+ </picture>
</a>
<a role="button" class="navbar-burger" data-target="navMenu">
<span></span>