openneo-blog/_layouts/post.html
Emi Matchu ecad5ffd95 Add banner images to posts
For the webp variants, I decided to use lossless for the NeoPass one,
because anything lossy just looked really obviously crunchy. But for
the State of DTI one, I first ran this shopkeeper image through
waifu2x, then gave it a lossy webp conversion, cuz I thought it
compressed honestly pretty darn well.

```
convert neopass.png -define webp:lossless=true neopass.webp
convert state-of-dti-2024.png -quality 70 state-of-dti-2024.webp
```
2024-09-20 14:25:41 -07:00

25 lines
475 B
HTML

---
layout: default
---
<main>
<article>
<header>
<h2>
<a href="{{ page.url }}">{{ page.title }}</a>
</h2>
<p role="doc-subtitle">
Posted on {{ page.date | date_to_string: "ordinal", "US" }}{% if
page.author %}, by {{ page.author }}{% endif %}
</p>
</header>
{% if page.banner %}
<img
src="{{ page.banner.url }}"
width="{{ page.banner.width }}"
height="{{ page.banner.height}}"
/>
{% endif %} {{ content }}
</article>
</main>