From 489ddb21117ea1765a16ddce093345db1d019521 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 11 Oct 2024 20:01:27 -0700 Subject: [PATCH] fix: syntax + styles --- src/assets/styles/pages/post.css | 11 +++++++++-- src/includes/partials/feeds/rss.liquid | 2 +- src/pages/dynamic/posts/post.html | 10 +++++----- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/assets/styles/pages/post.css b/src/assets/styles/pages/post.css index a01ac748..1a5bc3ca 100644 --- a/src/assets/styles/pages/post.css +++ b/src/assets/styles/pages/post.css @@ -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, diff --git a/src/includes/partials/feeds/rss.liquid b/src/includes/partials/feeds/rss.liquid index 42a8e565..11a38cba 100644 --- a/src/includes/partials/feeds/rss.liquid +++ b/src/includes/partials/feeds/rss.liquid @@ -36,7 +36,7 @@ {%- if entryFeed.image -%} {%- endif -%} - + {%- endfor %} diff --git a/src/pages/dynamic/posts/post.html b/src/pages/dynamic/posts/post.html index 429e4c69..1511abf2 100644 --- a/src/pages/dynamic/posts/post.html +++ b/src/pages/dynamic/posts/post.html @@ -22,16 +22,16 @@ schema: blog {%- if post.image -%}