diff options
| author | Sam Scholten | 2026-06-17 14:14:15 +1000 |
|---|---|---|
| committer | Sam Scholten | 2026-06-17 14:14:15 +1000 |
| commit | 2fc958c47142b5e1d5646e018e3c434e73dc71c3 (patch) | |
| tree | 08f20679ed383de3b6a7c98c5d217a3b5d23e8a9 /cmds/templates | |
| parent | ae38f7ee9cbe80bd2287c8ec5e6f74510a065e62 (diff) | |
| download | scholscan-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')
| -rw-r--r-- | cmds/templates/live-feed.html | 5 | ||||
| -rw-r--r-- | cmds/templates/results.html | 5 | ||||
| -rw-r--r-- | cmds/templates/tools.html | 5 |
3 files changed, 15 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}} 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 @@ </div> {{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}} 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 @@ </form> </div> </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}} |
