From 6d3e953f998206141da9a8574353cc075889fc43 Mon Sep 17 00:00:00 2001 From: cheddar Date: Fri, 18 Apr 2025 12:17:38 -0400 Subject: [PATCH] Some changes to display of post links --- _includes/post_link.njk | 9 +++++---- _includes/styles/base.css | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/_includes/post_link.njk b/_includes/post_link.njk index 58741f9..fefb6a1 100644 --- a/_includes/post_link.njk +++ b/_includes/post_link.njk @@ -1,8 +1,9 @@
  • {{ post.data.title }} - {% if post.data.description %}

    {{ post.data.description }}

    - {% elseif post.data.series %}

    - {{ post.data.series.name }}

    - {% endif %} -

    +
    + {% if post.data.description %}

    {{ post.data.description }}

    {% endif %} +

    + {% if post.data.series %}

    Series - {{ post.data.series.name }}

    {% endif %} +
  • diff --git a/_includes/styles/base.css b/_includes/styles/base.css index 92745a2..e63fc5b 100644 --- a/_includes/styles/base.css +++ b/_includes/styles/base.css @@ -71,6 +71,6 @@ footer img { margin-bottom: 12px; } -.post-link > p { +.post-link p { margin: 0; }