aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-search.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-20 21:35:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-20 21:35:36 +0300
commitc5fb199945a29cfaa48186f9168c3edaf742132b (patch)
tree7e41dcd12023ea8b0c0388aafd1409375a0f00ce /mod/mod-package-search.cxx
parentcdb1a96ce61fd179911ac175d298decba26b5910 (diff)
Make search page title configurable
Diffstat (limited to 'mod/mod-package-search.cxx')
-rw-r--r--mod/mod-package-search.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/mod-package-search.cxx b/mod/mod-package-search.cxx
index 5654427..df9e3d1 100644
--- a/mod/mod-package-search.cxx
+++ b/mod/mod-package-search.cxx
@@ -86,6 +86,7 @@ handle (request& rq, response& rs)
const size_t res_page (options_->search_results ());
const dir_path& root (options_->root ());
+ const string& title (options_->search_title ());
params::package_search params;
@@ -106,8 +107,6 @@ handle (request& rq, response& rs)
? ""
: "?q=" + web::mime_url_encode (squery));
-
- static const string title ("Packages");
xml::serializer s (rs.content (), title);
s << HTML