diff --git a/common.go b/common.go index d1de775..7d30861 100644 --- a/common.go +++ b/common.go @@ -6,7 +6,7 @@ import ( var ( debugMode bool = true - funcs = template.FuncMap{ + funcs = template.FuncMap{ "sub": func(a, b int) int { return a - b }, @@ -15,10 +15,3 @@ var ( }, } ) - -func max(a, b int) int { - if a > b { - return a - } - return b -} diff --git a/templates/settings.html b/templates/settings.html index 745bcf8..b484e7e 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -47,7 +47,7 @@
-

Settings

+

SETTINGS ARE NOT IMPLEMENTED YET

Theme


diff --git a/templates/text.html b/templates/text.html index 215b93b..319397d 100644 --- a/templates/text.html +++ b/templates/text.html @@ -67,10 +67,12 @@

{{end}} - {{else}} + {{else if .NoResults}}
No results found for '{{ .Query }}'. Try different keywords.
+ {{else}} +
Looks like this is the end of results.
{{end}} - +
@@ -84,26 +86,39 @@