aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-13 10:45:24 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-13 13:09:27 +0300
commita03a2b613f5d36de5617c50e76cced95fda188ac (patch)
tree1cf01f2c16d64f0052dc1fab99490ef1b334a96b /mod/module.cli
parent962c725f9fba6b7b4803f31dbcd497169b237f57 (diff)
Add search-description configuration option
Diffstat (limited to 'mod/module.cli')
-rw-r--r--mod/module.cli8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/module.cli b/mod/module.cli
index 552a60b..ec86b7b 100644
--- a/mod/module.cli
+++ b/mod/module.cli
@@ -494,6 +494,14 @@ namespace brep
"Package search page title. It is placed inside XHTML5 <title>
element."
}
+
+ web::xhtml::fragment search-description
+ {
+ "<xhtml>",
+ "Package search page description. If specified, it is displayed
+ before the search form on the first page only. The value is
+ treated as an XHTML5 fragment."
+ }
};
class package_details: package, search, package_db, page, handler