From dedc1394cff114ecc6064bce2975c73e9bc3b888 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Wed, 4 Feb 2026 12:39:28 -0600 Subject: [PATCH] Implement comments via Isso --- _includes/issoCommenting.njk | 62 ++++++++++++++++++++++++++++++++++ _includes/layouts/post.njk | 3 +- _includes/mastodonComments.njk | 18 +++++----- content/changelog/index.md | 2 ++ public/css/index.css | 9 ++--- 5 files changed, 79 insertions(+), 15 deletions(-) create mode 100644 _includes/issoCommenting.njk diff --git a/_includes/issoCommenting.njk b/_includes/issoCommenting.njk new file mode 100644 index 0000000..37930c9 --- /dev/null +++ b/_includes/issoCommenting.njk @@ -0,0 +1,62 @@ + + +
+ +
+ + diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 483d6e0..0a62c9e 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -3,6 +3,7 @@ layout: layouts/base.njk ---

{{ title | safe }}

+{% include "mastodonComments.njk" %} {% if not hideMetadata %}
-{% include "mastodonComments.njk" %} +{% include "issoCommenting.njk" %} diff --git a/_includes/mastodonComments.njk b/_includes/mastodonComments.njk index 2000bd1..8d251f9 100644 --- a/_includes/mastodonComments.njk +++ b/_includes/mastodonComments.njk @@ -1,12 +1,10 @@ {% if mastodon_id %} -
- -
+
+ + + +
{% endif %} diff --git a/content/changelog/index.md b/content/changelog/index.md index 4ae3ebf..6df0d1e 100644 --- a/content/changelog/index.md +++ b/content/changelog/index.md @@ -4,6 +4,8 @@ title: Nathan Upchurch | Changelog structuredData: none --- # Changelog +* 2026-02-04 + * Added post comments via [Isso](https://isso-comments.de/). Please don't make me regret this. * 2026-02-01 * Added [Woo-Woo Incense Description Generator](/special/woo-woo-incense-description-generator). * 2026-01-21 diff --git a/public/css/index.css b/public/css/index.css index a5da36f..1c8cf34 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -271,7 +271,7 @@ section { grid-column: var(--span-grid); } /* Add fleuron to last

in section */ - > p:not(blockquote > p):last-child:after { + > p:not(blockquote > p, p.isso-post-action):last-child:after { content: "\2766"; display: inline; font-size: var(--step-1); @@ -372,7 +372,7 @@ main > p > a > img { pre { grid-column: var(--span-grid); } -p:not(.quizQuestion) { +p:not(.quizQuestion, .isso-input-wrapper) { margin-block: 0 1lh; } p, @@ -526,12 +526,13 @@ table th { "WONK" 1; } -/* Comments */ +/* Mastodon */ .continue-discussion { grid-column: var(--span-grid); } .continue-discussion button { - margin-top: var(--space-xs); + margin-top: calc(var(--space-s) * -1); + margin-bottom: var(--space-m); } /* Code Fences */