all repos — searchix @ 5762645aedc4d39a9e6caeb227410ca9bae2d2b5

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: show version number and link in footer

Alan Pearce
commit

5762645aedc4d39a9e6caeb227410ca9bae2d2b5

parent

005c91a6a57ffc44b3162c2d647f1970aada9d5f

1 file changed, 6 insertions(+), 0 deletions(-)

jump to
M internal/components/page.templinternal/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>