diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-26 20:21:33 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-27 17:12:48 -0400 |
commit | 1ff7f2970b85accb417af0ea5dd350e0ae746dc6 (patch) | |
tree | 40f66349f5993d373bd77f19042a8782b4f6bcdf /org/out_xmls.org | |
parent | html links and metadata, fixes & cosmetic work (diff) |
"empty page" index.html, sort homepage link
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r-- | org/out_xmls.org | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 943d588..7cec142 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -2087,7 +2087,9 @@ scroll_write_output(doc, doc_matters); auto f = File(pth_html.base ~"/index.html", "w"); f.writeln(format_html_blank_page_guide_home( "../../css/html_scroll.css", - "https://sisudoc.org", + (doc_matters.opt.action.webserver_url_doc_root.length > 0) + ? doc_matters.opt.action.webserver_url_doc_root + : doc_matters.conf_make_meta.conf.w_srv_data_root_url, "../../index.html", )); } @@ -2460,7 +2462,9 @@ seg_write_output(doc_html, doc_html_endnotes, doc_matters); auto f = File(pth_html.css ~"/index.html", "w"); f.writeln(format_html_blank_page_guide_home( "./css/html_scroll.css", - "https://sisudoc.org", + (doc_matters.opt.action.webserver_url_doc_root.length > 0) + ? doc_matters.opt.action.webserver_url_doc_root + : doc_matters.conf_make_meta.conf.w_srv_data_root_url, "../index.html", )); } @@ -2502,7 +2506,9 @@ seg_write_output(doc_html, doc_html_endnotes, doc_matters); auto f = File(pth_html.image ~"/index.html", "w"); f.writeln(format_html_blank_page_guide_home( "../css/html_scroll.css", - "https://sisudoc.org", + (doc_matters.opt.action.webserver_url_doc_root.length > 0) + ? doc_matters.opt.action.webserver_url_doc_root + : doc_matters.conf_make_meta.conf.w_srv_data_root_url , "../index.html", )); } @@ -3243,7 +3249,9 @@ zip -0 file.epub mimetype && zip -r -9 file.epub META-INF OEBPS auto f = File(pth_epub3.base ~"/index.html", "w"); f.writeln(format_html_blank_page_guide_home( "../../css/html_scroll.css", - "https://sisudoc.org", + (doc_matters.opt.action.webserver_url_doc_root.length > 0) + ? doc_matters.opt.action.webserver_url_doc_root + : doc_matters.conf_make_meta.conf.w_srv_data_root_url, "../../index.html", )); } |