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:
+2
-2
@@ -4,7 +4,7 @@
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ $faceImage := resources.Get "images/big-face.png" }}
|
||||
{{ $faceImage := resources.Get "images/big-face.webp" }}
|
||||
|
||||
<section id="intro">
|
||||
<div>
|
||||
@@ -15,7 +15,7 @@
|
||||
<a href="{{ urls.JoinPath .Site.BaseURL "contact" }}">Contact</a>
|
||||
</div>
|
||||
</div>
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi's face">
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi's face" loading="lazy">
|
||||
</section>
|
||||
|
||||
<section id="about">
|
||||
|
||||
Reference in New Issue
Block a user