From: Harishankar Date: Sun, 24 May 2020 08:52:49 +0000 (+0530) Subject: Minor fix: fixed the link text in NavigationBit generation X-Git-Url: https://harishankar.org/repos/?a=commitdiff_plain;h=f0b757f133115ed0451c6e816c13f85af0017e87;p=biaweb2.git Minor fix: fixed the link text in NavigationBit generation Fixed the link text to "title" of the DocumentTree rather than the "stub" for better readability --- diff --git a/biawebdocumenttree.hpp b/biawebdocumenttree.hpp index 0aba119..eeb8b15 100644 --- a/biawebdocumenttree.hpp +++ b/biawebdocumenttree.hpp @@ -227,7 +227,7 @@ namespace biaweb { // an inline list while (par1 != nullptr) { if (par1->parent != nullptr) - navbit.get()->add_link_item (GenericLinkItem(par1->stub, + navbit.get()->add_link_item (GenericLinkItem(par1->title, par1->stub_hierarchy() + par1->stub + "/index.html")); else navbit.get()->add_link_item (GenericLinkItem(tpl->get_stringbit(HOME), "index.html"));