refactor: switch to templ for HTML templates
1 file changed, 10 insertions(+), 0 deletions(-)
changed files
A internal/components/homepage.templ
@@ -0,0 +1,10 @@ +package components + +templ Homepage(tdata TemplateData) { + @Page(tdata) { + <p> + Search Nix Packages and options from NixOS, Darwin and Home-Manager + </p> + <a href="https://git.sr.ht/~alanpearce/searchix">Source code</a> + } +}