Added type to image source

This commit is contained in:
Fred Boniface 2022-10-07 22:28:04 +01:00
parent f40f5ff3f0
commit 0f489a7abc
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@
<h1 class="page-title">Access Denied</h1> <h1 class="page-title">Access Denied</h1>
<div class="title-image"> <div class="title-image">
<picture> <picture>
<source srcset="/images/error-pages/denied.jxl"> <source srcset="/images/error-pages/denied.jxl" type="image/jxl">
<source srcset="/images/error-pages/denied.webp"> <source srcset="/images/error-pages/denied.webp" type="image/webp">
<img src="/images/error-pages/denied.png" alt="Denied"> <img src="/images/error-pages/denied.png" alt="Denied">
</picture> </picture>
</div> </div>

View File

@ -10,8 +10,8 @@
<h1 class="page-title">Not Found</h1> <h1 class="page-title">Not Found</h1>
<div class="title-image"> <div class="title-image">
<picture> <picture>
<source srcset="/images/error-pages/not-found.jxl"> <source srcset="/images/error-pages/not-found.jxl" type="image/jxl">
<source srcset="/images/error-pages/not-found.webp"> <source srcset="/images/error-pages/not-found.webp" type="image/webp">
<img src="/images/error-pages/not-found.png" alt="Not Found"> <img src="/images/error-pages/not-found.png" alt="Not Found">
</picture> </picture>
</div> </div>