feat: eleventy transform for images
This commit is contained in:
parent
243b1103e4
commit
7e1597b36a
36 changed files with 179 additions and 1262 deletions
|
@ -10,8 +10,7 @@ image: /assets/img/ogi/about.jpg
|
|||
<style>{{ css }}</style>
|
||||
<div class="avatar__wrapper flex--centered">
|
||||
{% capture about_alt %}{{ meta.siteName }} - image by David Neal / @reverentgeek{% endcapture %}
|
||||
{% capture fallbackIcon %}{% tablericon "photo" about_alt %}{% endcapture %}
|
||||
{% image './src/assets/img/avatar.webp', about_alt, '', 'eager', 'banner', fallbackIcon %}
|
||||
<img src="/assets/img/avatar.webp" alt="{{ about_alt }}" />
|
||||
</div>
|
||||
<h2 class="page__header text-center">Hi, I'm Cory</h2>
|
||||
|
||||
|
|
Reference in a new issue