Reduce website static content file size by a lot

This commit is contained in:
Keavon Chambers
2023-08-23 15:36:55 -07:00
parent 2d99d4bee1
commit 89b269cf55
12 changed files with 49 additions and 37 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
{% for page in section.pages %}
<section>
<div class="banner">
<a href="{{ page.path }}"><img src="{{ page.extra.banner | safe }}" /></a>
<a href="{{ page.path }}"><img src="{{ page.extra.banner | safe }}" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" /></a>
</div>
<div class="details">
<div class="headline">