chore: eager load about image

This commit is contained in:
Cory Dransfeldt 2024-02-04 13:19:07 -08:00
parent 5f841efc3e
commit 7a3a7d65e4
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "5.3.12", "version": "5.3.13",
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -10,7 +10,7 @@ image: /assets/img/ogi/about.jpg
<style>{{ css }}</style> <style>{{ css }}</style>
<div class="avatar__wrapper flex--centered"> <div class="avatar__wrapper flex--centered">
{% capture about_alt %}{{ meta.siteName }} - image by David Neal / @reverentgeek{% endcapture %} {% capture about_alt %}{{ meta.siteName }} - image by David Neal / @reverentgeek{% endcapture %}
{% image './src/assets/img/avatar.webp', about_alt %} {% image './src/assets/img/avatar.webp', about_alt, '', 'eager' %}
</div> </div>
<h2 class="page__header text-center">Hi, I'm Cory</h2> <h2 class="page__header text-center">Hi, I'm Cory</h2>