Skip to content

Commit

Permalink
⚡️ Improve performance for LCP
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuggle committed Jan 12, 2025
1 parent 42f30f2 commit 4aecdd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 class="p-name">{{ .Site.Params.intro.title }}</h2>
</ul>
</div>
{{ if .Site.Params.intro.image }}
<span class="image"><img class="u-photo" rel="preload" src="{{ .Site.Params.intro.image }}" alt="" /></span>
<span class="image"><picture> <source srcset="/avatar.webp" type="image/webp"><source srcset="/avatar.jpg" type="image/jpeg"><img class="u-photo" rel="preload" src="{{ .Site.Params.intro.image }}" alt="Evie Snuggle's portrait with a garden behind" /></picture></span>
{{ end }}
<div style="display: none;">
<a class="u-url" style="display: none;" href="https://snugg.ie"></a>
Expand Down
Binary file added static/avatar.webp
Binary file not shown.

0 comments on commit 4aecdd7

Please sign in to comment.