fix: syntax + styles

This commit is contained in:
Cory Dransfeldt 2024-10-11 20:01:27 -07:00
parent 61d66bc8dc
commit 489ddb2111
No known key found for this signature in database
3 changed files with 15 additions and 8 deletions

View file

@ -1,5 +1,12 @@
article.standalone .associated-media:last-of-type > hr {
display: none;
article.standalone {
& + div,
& + img {
margin-bottom: var(--spacing-base);
}
& .associated-media:last-of-type > hr {
display: none;
}
}
p + .associated-media,

View file

@ -36,7 +36,7 @@
{%- if entryFeed.image -%}
<enclosure url="https://cdn.coryd.dev{{ entryFeed.image }}?class=w800" type="image/jpeg" />
{%- endif -%}
<description><![CDATA[{{ entryFeed.description | escape | markdown }}]]></description>
<description><![CDATA[{{ entryFeed.description | markdown }}]]></description>
</item>
{%- endfor %}
</channel>

View file

@ -22,16 +22,16 @@ schema: blog
{%- if post.image -%}
<img
srcset="
https://cdn.coryd.dev/{{ post.image }}?class=w200&type=webp 200w,
https://cdn.coryd.dev/{{ post.image }}?class=w400&type=webp 400w,
https://cdn.coryd.dev/{{ post.image }}?class=w800&type=webp 800w,
https://cdn.coryd.dev/{{ post.image }}?class=w1600&type=webp 1600w
https://cdn.coryd.dev{{ post.image }}?class=w200&type=webp 200w,
https://cdn.coryd.dev{{ post.image }}?class=w400&type=webp 400w,
https://cdn.coryd.dev{{ post.image }}?class=w800&type=webp 800w,
https://cdn.coryd.dev{{ post.image }}?class=w1600&type=webp 1600w
"
sizes="(max-width: 450px) 200px,
(max-width: 850px) 400px,
(max-width: 1000px) 800px,
1200px"
src="https://cdn.coryd.dev/{{ post.image }}?class=w200"
src="https://cdn.coryd.dev{{ post.image }}?class=w200"
alt="{{ post.image_alt }}"
class="image-banner"
loading="eager"