From 1ff7f2970b85accb417af0ea5dd350e0ae746dc6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 26 Jun 2023 20:21:33 -0400 Subject: "empty page" index.html, sort homepage link --- org/out_xmls.org | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'org/out_xmls.org') 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", )); } -- cgit v1.2.3