about summary refs log tree commit diff stats
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/templates/blocks/search.gotmpl2
-rw-r--r--frontend/templates/index.gotmpl6
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl
index b03410c..a4f0ee5 100644
--- a/frontend/templates/blocks/search.gotmpl
+++ b/frontend/templates/blocks/search.gotmpl
@@ -2,7 +2,7 @@
 {{- template "js" . }}
 
 {{- define "main" }}
-  <form id="search" action="/options/{{ .Source }}/results">
+  <form id="search" action="results">
     <label for="query">{{ sourceName .Source }} option search</label>
     <fieldset>
       <input id="query" name="query" type="search" value="{{ .Query }}" />
diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl
index d4a46da..c94330a 100644
--- a/frontend/templates/index.gotmpl
+++ b/frontend/templates/index.gotmpl
@@ -11,9 +11,9 @@
     <header>
       <nav>
         <h1><a href="/">Searchix</a></h1>
-        <a href="/search/nixos">NixOS</a>
-        <a href="/search/darwin">Darwin</a>
-        <a href="/search/home-manager">Home Manager</a>
+        <a href="/options/nixos/search">NixOS</a>
+        <a href="/options/darwin/search">Darwin</a>
+        <a href="/options/home-manager/search">Home Manager</a>
       </nav>
     </header>
     <main>