From e8d7b29a4b160311cff3cbee8a31baeb6a5b8a35 Mon Sep 17 00:00:00 2001 From: rmdes Date: Sun, 8 Feb 2026 11:36:18 +0100 Subject: [PATCH] fix: show setup guide instead of error when webmentions not configured When the webmentions proxy plugin is not installed or WEBMENTION_IO_TOKEN is not set, the inbound tab now shows a clear setup guide instead of a red error box and console errors. The filter buttons and webmention list are hidden, and auto-refresh is skipped when not configured. Co-Authored-By: Claude Opus 4.6 --- interactions.njk | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/interactions.njk b/interactions.njk index 4abfc19..ac4b81d 100644 --- a/interactions.njk +++ b/interactions.njk @@ -151,13 +151,28 @@ permalink: /interactions/

Loading webmentions...

- {# Error state #} -
+ {# Setup required state — shown when webmentions proxy is not configured #} +
+

Webmentions Not Configured

+

+ To receive inbound webmentions, you need to set up the webmentions proxy plugin + (@rmdes/indiekit-endpoint-webmentions-proxy). +

+
    +
  1. Register your domain at webmention.io and get your API token
  2. +
  3. Set the WEBMENTION_IO_TOKEN environment variable
  4. +
  5. Ensure the webmentions proxy plugin is installed and configured in your Indiekit config
  6. +
  7. Restart Indiekit to apply the changes
  8. +
+
+ + {# Error state — only shown for real errors, not missing config #} +

{# Filter by type #} -
+