diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 22:56:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-04 15:24:51 +0300 |
commit | 045563bb01a3fb9de9371854cbc16b77860c221b (patch) | |
tree | 928225401c145f00d9eb8e5467d92339d63d7d98 /mod/page.hxx | |
parent | 05d77beb95f52351c16b2f0af74a0099dd5dba27 (diff) |
Add support for topics and keywords package manifest values
Diffstat (limited to 'mod/page.hxx')
-rw-r--r-- | mod/page.hxx | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/mod/page.hxx b/mod/page.hxx index cd2048e..2fc3a0b 100644 --- a/mod/page.hxx +++ b/mod/page.hxx @@ -324,31 +324,19 @@ namespace brep const license_alternatives& licenses_; }; - // Generate package tags element. + // Generate package topics element. // - class TR_TAGS + class TR_TOPICS { public: - // Display the tag link list. - // - TR_TAGS (const strings& ts, const dir_path& r, const string& t) - : project_ (nullptr), tags_ (ts), root_ (r), tenant_ (t) {} - - // As above but prepend the list with a tag link produced from the project - // name, if it differs from other tags. - // - TR_TAGS (const package_name& pr, - const strings& ts, - const dir_path& r, - const string& t) - : project_ (&pr), tags_ (ts), root_ (r), tenant_ (t) {} + TR_TOPICS (const strings& ts, const dir_path& r, const string& t) + : topics_ (ts), root_ (r), tenant_ (t) {} void operator() (xml::serializer&) const; private: - const package_name* project_; - const strings& tags_; + const strings& topics_; const dir_path& root_; const string& tenant_; }; |