diff --git a/views/themes/Material/index.hbs b/views/themes/Material/index.hbs
index 61fa9f3..090f88e 100644
--- a/views/themes/Material/index.hbs
+++ b/views/themes/Material/index.hbs
@@ -2,11 +2,11 @@
{{#if filtered}}
- {{#if menuLink}}
-
{{ @root.__ "Category" }}: {{menuLink.title}}
+ {{#ifCond @root.paginateUrl '==' 'category'}}
+ {{ @root.__ "Category" }}: {{@root.searchTerm}}
{{else}}
- {{ @root.__ "Search results" }}: {{searchTerm}}
- {{/if}}
+ {{ @root.__ "Search results" }}: {{@root.searchTerm}}
+ {{/ifCond}}
{{/if}}
diff --git a/views/themes/Mono/index.hbs b/views/themes/Mono/index.hbs
index 0af6998..9616da9 100644
--- a/views/themes/Mono/index.hbs
+++ b/views/themes/Mono/index.hbs
@@ -2,11 +2,11 @@
{{#if filtered}}
- {{#if menuLink}}
-
{{ @root.__ "Category" }}: {{menuLink.title}}
+ {{#ifCond @root.paginateUrl '==' 'category'}}
+ {{ @root.__ "Category" }}: {{@root.searchTerm}}
{{else}}
- {{ @root.__ "Search results" }}: {{searchTerm}}
- {{/if}}
+ {{ @root.__ "Search results" }}: {{@root.searchTerm}}
+ {{/ifCond}}
{{/if}}