From 2fc958c47142b5e1d5646e018e3c434e73dc71c3 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Wed, 17 Jun 2026 14:14:15 +1000 Subject: Add --footer flag for custom HTML footer in web UI Allows deploying with contextual links (e.g. blog post, homepage). Also adds links to live instance and blog post in README. --- cmds/templates/live-feed.html | 5 +++++ cmds/templates/results.html | 5 +++++ cmds/templates/tools.html | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'cmds/templates') diff --git a/cmds/templates/live-feed.html b/cmds/templates/live-feed.html index 1529ee1..2974c4b 100644 --- a/cmds/templates/live-feed.html +++ b/cmds/templates/live-feed.html @@ -153,6 +153,11 @@

No articles to display

{{end}} +{{if .Footer}} + +{{end}} {{end}} diff --git a/cmds/templates/results.html b/cmds/templates/results.html index 13f68e0..1cc6250 100644 --- a/cmds/templates/results.html +++ b/cmds/templates/results.html @@ -274,6 +274,11 @@ {{end}} +{{if .Footer}} + +{{end}} {{end}} diff --git a/cmds/templates/tools.html b/cmds/templates/tools.html index def04fe..994acac 100644 --- a/cmds/templates/tools.html +++ b/cmds/templates/tools.html @@ -197,6 +197,11 @@ +{{if .Footer}} + +{{end}} {{end}} -- cgit v1.2.3