diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-19 14:34:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-22 09:54:26 -0500 |
commit | 2d5d871e51692c30e26c1500fc38879857a754de (patch) | |
tree | 0d7bb9b4356a95669f740cc68d75b0c8d491ff14 /src/doc_reform/io_out | |
parent | 0.9.1 spine, post naming development (diff) |
segmented html harvest links cli option
Diffstat (limited to 'src/doc_reform/io_out')
-rw-r--r-- | src/doc_reform/io_out/xmls.d | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d index a906d89..a88dced 100644 --- a/src/doc_reform/io_out/xmls.d +++ b/src/doc_reform/io_out/xmls.d @@ -599,6 +599,9 @@ template outputXHTMLs() { 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"> T </a>|<a href="../../../authors.html"> A </a>]</p>┃") + : ""; if (obj.tags.segment_anchor_tag_epub == "toc") { toc = ""; prev = ""; @@ -639,6 +642,7 @@ template outputXHTMLs() { ); } string _toc_pre_next = format(q"┃ <div class="flex-menu-option"> + %s <div class="nav-bar"> %s %s @@ -647,11 +651,13 @@ template outputXHTMLs() { </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 @@ -659,6 +665,7 @@ template outputXHTMLs() { </div> </div> </div>┃", + harvest_link, prev, next, ); |