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 /src/doc_reform/io_out/html.d | |
parent | html links and metadata, fixes & cosmetic work (diff) |
"empty page" index.html, sort homepage link
Diffstat (limited to 'src/doc_reform/io_out/html.d')
-rw-r--r-- | src/doc_reform/io_out/html.d | 12 |
1 files changed, 9 insertions, 3 deletions
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", )); } |