aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-11-19 14:34:12 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-22 09:54:26 -0500
commit2d5d871e51692c30e26c1500fc38879857a754de (patch)
tree0d7bb9b4356a95669f740cc68d75b0c8d491ff14 /org/out_xmls.org
parent0.9.1 spine, post naming development (diff)
segmented html harvest links cli option
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r--org/out_xmls.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org
index 54b40aa..e875330 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -756,6 +756,9 @@ auto nav_pre_next_svg(O,M)(
M doc_matters,
) {
string prev, next, toc;
+ string harvest_link = (doc_matters.opt.action.harvest_link)
+ ? format(q"┃<p class="tiny">[<a href="../../../topics.html">&nbsp;T&nbsp;</a>|<a href="../../../authors.html">&nbsp;A&nbsp;</a>]</p>┃")
+ : "";
if (obj.tags.segment_anchor_tag_epub == "toc") {
toc = "";
prev = "";
@@ -796,6 +799,7 @@ auto nav_pre_next_svg(O,M)(
);
}
string _toc_pre_next = format(q"┃ <div class="flex-menu-option">
+ %s
<div class="nav-bar">
%s
%s
@@ -804,11 +808,13 @@ auto nav_pre_next_svg(O,M)(
</div>
</div>
</div>┃",
+ harvest_link,
toc,
prev,
next,
);
string _pre_next = format(q"┃ <div class="flex-menu-option">
+ %s
<div class="nav-bar">
%s
%s
@@ -816,6 +822,7 @@ auto nav_pre_next_svg(O,M)(
</div>
</div>
</div>┃",
+ harvest_link,
prev,
next,
);