chore: eager load about image
This commit is contained in:
parent
5f841efc3e
commit
7a3a7d65e4
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Reference in a new issue