chore: image shortcode

This commit is contained in:
Cory Dransfeldt 2024-02-21 07:10:46 -08:00
parent f5da3a1fae
commit b413f9ab16
No known key found for this signature in database
18 changed files with 107 additions and 58 deletions

View file

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