From 2aa3af7c93468cbdefeeee868f0c30d89bd61071 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 1 Jul 2024 10:32:16 -0700 Subject: [PATCH] fix: feed title spacing --- package-lock.json | 4 ++-- package.json | 2 +- src/_includes/partials/feeds/rss.liquid | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e8bb1847..4708fb70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.8.1", + "version": "19.8.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.8.1", + "version": "19.8.2", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index 43e26a56..18a25313 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.8.1", + "version": "19.8.2", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/partials/feeds/rss.liquid b/src/_includes/partials/feeds/rss.liquid index ecb19fdb..af2540ae 100644 --- a/src/_includes/partials/feeds/rss.liquid +++ b/src/_includes/partials/feeds/rss.liquid @@ -18,8 +18,8 @@ {% assign rating = entry.rating %} {%- capture entryTitle -%} {{ entry.title | escape }} - {%- if entry.authors -%} via {{ entry.authors.name }}{%- endif -%} - {%- if rating -%} ({{ rating }}){%- endif -%} + {%- if entry.authors %} via {{ entry.authors.name }}{%- endif -%} + {%- if rating %} ({{ rating }}){%- endif -%} {%- endcapture -%} {{ entryTitle }}