mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Improve loading performance
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "breadcrumb.html" . }}
|
||||
|
||||
{{ $faceImage := resources.Get "images/big-face.png" }}
|
||||
{{ $faceImage := resources.Get "images/big-face.webp" }}
|
||||
|
||||
<section>
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi's face">
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi's face" loading="lazy">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user