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 --- src/doc_reform/io_out/html.d | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/doc_reform/io_out/html.d') diff --git a/src/doc_reform/io_out/html.d b/src/doc_reform/io_out/html.d index 5f1f11c..d612a76 100644 --- a/src/doc_reform/io_out/html.d +++ b/src/doc_reform/io_out/html.d @@ -257,7 +257,9 @@ template outputHTML() { 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", )); } @@ -574,7 +576,9 @@ template outputHTML() { 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", )); } @@ -610,7 +614,9 @@ template outputHTML() { 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", )); } -- cgit v1.2.3