feat: show version number and link in footer
Alan Pearce alan@alanpearce.eu
Tue, 18 Mar 2025 21:36:21 +0100
1 files changed, 6 insertions(+), 0 deletions(-)
M internal/components/page.templ → internal/components/page.templ
@@ -68,6 +68,12 @@ <main> { children... } </main> <footer> + if config.Version != "" { + Searchix + <a href={ templ.SafeURL("https://git.sr.ht/~alanpearce/searchix/refs/" + config.Version) }> + { config.Version } + </a> + } Made by <a href="https://alanpearce.eu">Alan Pearce</a>. <a href="https://git.sr.ht/~alanpearce/searchix">Source code</a> <a href="https://todo.sr.ht/~alanpearce/searchix">Report issues</a>