From 05a32bda78911772cb8b09f37bacbcf851a4ddba Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 10 Mar 2025 14:05:17 +0100 Subject: feat: default to combined search on root path --- internal/components/search.templ | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/components/search.templ') diff --git a/internal/components/search.templ b/internal/components/search.templ index 0457ff9..bbcf3f4 100644 --- a/internal/components/search.templ +++ b/internal/components/search.templ @@ -23,6 +23,9 @@ templ Search(tdata TemplateData, r ResultData) { templ SearchPage(tdata TemplateData, r ResultData) { @Page(tdata) { +

+ Search Nix packages and options from NixOS, Darwin and Home-Manager +

@script(tdata.Assets.ByPath["/static/search.js"]) @Search(tdata, r)
@@ -36,5 +39,6 @@ templ SearchPage(tdata TemplateData, r ResultData) { Everything should work fine without JavaScript. If that is not the case, report an issue

+ Source code } } -- cgit 1.4.1