diff options
Diffstat (limited to 'frontend/templates/index.gotmpl')
-rw-r--r-- | frontend/templates/index.gotmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl index c94330a..b829a85 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="/options/nixos/search">NixOS</a> - <a href="/options/darwin/search">Darwin</a> - <a href="/options/home-manager/search">Home Manager</a> + {{- range $key, $value := .Sources }} + <a href="/options/{{ $key }}/search">{{ $value.Name }}</a> + {{- end }} </nav> </header> <main> |