Handlers: set page title

This commit is contained in:
2019-09-29 21:34:53 +02:00
parent ec10c764d5
commit d9de46354e
11 changed files with 20 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ Response HandlerAllCategories::handleRequest(const Request &r)
std::string body =
this->templ->renderSearch(resultList, [&](std::string str) { return this->urlProvider->category(str); });
searchPage.setVar("categorylist", body);
searchPage.setVar("title", createPageTitle("All categories"));
setGeneralVars(searchPage);
Response response;