diff options
Diffstat (limited to 'frontend/templates/index.gotmpl')
-rw-r--r-- | frontend/templates/index.gotmpl | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl index d5046e1..3c2840a 100644 --- a/frontend/templates/index.gotmpl +++ b/frontend/templates/index.gotmpl @@ -13,18 +13,17 @@ <p>Search Nix Packages and options from NixOS, Darwin and Home-Manager</p> <nav> <a href="/">Home</a> + <a href="/search/nixos">NixOS Options</a> </nav> </header> <main> - <label for="query">Search </label> - <form id="search" action="/options/results"> - <input id="query" name="query" type="search" value="{{ .Query }}" /> - <button>Search</button> - </form> - <div id="results">{{ block "results" . }}{{ end }}</div> + {{ block "main" . }} + <p>Hello!</p> + {{ end }} </main> <footer>Made by <a href="https://alanpearce.eu">Alan Pearce</a></footer> - <script src="/static/search.js" defer></script> + {{ block "js" . }} + {{ end }} {{ .LiveReload }} </body> </html> |