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 90f875b..0211a5b 100644 --- a/frontend/templates/index.gotmpl +++ b/frontend/templates/index.gotmpl @@ -13,8 +13,8 @@ <link rel="search" type="application/opensearchdescription+xml" - title="Searchix {{ $value.Name }}" - href="/options/{{ $key }}/opensearch.xml" + title="Searchix {{ sourceNameAndType $value }}" + href="/{{ .Importer }}/{{ $key }}/opensearch.xml" /> {{- end }} </head> @@ -25,7 +25,7 @@ {{- range $key, $value := .Sources }} <a {{ if eq $.Source.Name $value.Name }}class="current"{{ end }} - href="/options/{{ $key }}/search{{ and $.Query (printf "?query=%s" $.Query) }}" + href="/{{ .Importer }}/{{ $key }}/search{{ and $.Query (printf "?query=%s" $.Query) }}" > {{- $value.Name -}} </a> |