about summary refs log tree commit diff stats
path: root/internal/components/page.templ
diff options
context:
space:
mode:
Diffstat (limited to 'internal/components/page.templ')
-rw-r--r--internal/components/page.templ6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/components/page.templ b/internal/components/page.templ
index 4ba3741..62b2937 100644
--- a/internal/components/page.templ
+++ b/internal/components/page.templ
@@ -68,6 +68,12 @@ templ Page(tdata TemplateData) {
 				{ 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>