aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pages
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2023-12-24 10:23:38 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2023-12-24 10:23:38 +0000
commitc5010811f1d64b21b6a8403733df3f8f3f2b8242 (patch)
tree6163cdc89658082e7beaf53c61bd2ab47544fe07 /src/pages
parentcc0ef23af08bd3c5927d85394407b117339d97ef (diff)
downloadsubmelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.tar.gz
submelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.tar.bz2
submelon.dev-c5010811f1d64b21b6a8403733df3f8f3f2b8242.zip
Add image optimization for generation
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/index.njk5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pages/index.njk b/src/pages/index.njk
index d2c231e..ea7a9a2 100644
--- a/src/pages/index.njk
+++ b/src/pages/index.njk
@@ -1,10 +1,7 @@
---
layout: layouts/page.njk
---
-<picture>
- <source type="image/webp" srcSet="images/main.webp 650w" sizes="350px" height="350" width="350"/>
- <img src="images/main.png" sizes="350px" height="350" width="350" alt="Picture of Kevin Hoerr"/>
-</picture>
+{% image "src/images/main.png", "Picture of Kevin Hoerr", "350px", "350" %}
<section><h1>Hello!</h1></section>
<section>
<p>I&apos;m a computer science and math graduate from Millersville University. I work as a Solutions Architect and specialize in development operations and systems validation for web applications.</p>