projects
/
biaweb2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfdbd4a
)
Minor fix: fixed the link text in NavigationBit generation
author
Harishankar
<v.harishankar@gmail.com>
Sun, 24 May 2020 08:52:49 +0000
(14:22 +0530)
committer
Harishankar
<v.harishankar@gmail.com>
Sun, 24 May 2020 08:52:49 +0000
(14:22 +0530)
Fixed the link text to "title" of the DocumentTree rather than
the "stub" for better readability
biawebdocumenttree.hpp
patch
|
blob
|
history
diff --git
a/biawebdocumenttree.hpp
b/biawebdocumenttree.hpp
index
0aba119
..
eeb8b15
100644
(file)
--- 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"));