From 4fec7e73201ed50e4a4157cb1ea1f1c63566dd89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Feb 2016 16:49:17 +0200 Subject: Menu customization --- brep/mod-package-details.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'brep/mod-package-details.cxx') diff --git a/brep/mod-package-details.cxx b/brep/mod-package-details.cxx index 98b2135..fa07dd1 100644 --- a/brep/mod-package-details.cxx +++ b/brep/mod-package-details.cxx @@ -12,6 +12,7 @@ #include #include +#include #include #include @@ -65,6 +66,8 @@ handle (request& rq, response& rs) // static const size_t res_page (options_->search_results ()); static const dir_path& root (options_->root ()); + static const fragment& logo (options_->logo ()); + static const vector& menu (options_->menu ()); const string& name (*rq.path ().rbegin ()); const string ename (mime_url_encode (name)); @@ -127,7 +130,7 @@ handle (request& rq, response& rs) << SCRIPT << " " << ~SCRIPT << ~HEAD << BODY - << DIV_HEADER (root) + << DIV_HEADER (root, logo, menu) << DIV(ID="content"); if (full) -- cgit v1.1