chore: image shortcode
This commit is contained in:
parent
f5da3a1fae
commit
b413f9ab16
18 changed files with 107 additions and 58 deletions
|
@ -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>
|
||||
|
||||
|
|
Reference in a new issue