aboutsummaryrefslogtreecommitdiff
path: root/cmds/templates/live-feed.html
diff options
context:
space:
mode:
authorSam Scholten2026-06-17 14:14:15 +1000
committerSam Scholten2026-06-17 14:14:15 +1000
commit2fc958c47142b5e1d5646e018e3c434e73dc71c3 (patch)
tree08f20679ed383de3b6a7c98c5d217a3b5d23e8a9 /cmds/templates/live-feed.html
parentae38f7ee9cbe80bd2287c8ec5e6f74510a065e62 (diff)
downloadscholscan-2fc958c47142b5e1d5646e018e3c434e73dc71c3.tar.gz
scholscan-2fc958c47142b5e1d5646e018e3c434e73dc71c3.zip
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.
Diffstat (limited to 'cmds/templates/live-feed.html')
-rw-r--r--cmds/templates/live-feed.html5
1 files changed, 5 insertions, 0 deletions
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 @@
<p>No articles to display</p>
{{end}}
</div>
+{{if .Footer}}
+ <footer style="margin-top: 30px; border-top: 1px solid #000; padding-top: 10px; font-size: 0.9em; color: #666;">
+ {{.Footer}}
+ </footer>
+{{end}}
</body>
</html>
{{end}}