diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-26 15:37:43 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-27 17:12:45 -0400 |
commit | 82d94b3ff78285afaa212d6e0a364f59c2938316 (patch) | |
tree | fb0b1d801054149419f08091ed4c31e5d559e2c2 /org/out_latex.org | |
parent | replace directory listing, blank index.html (diff) |
replace some instances of dir listing, index.html
Diffstat (limited to 'org/out_latex.org')
-rw-r--r-- | org/out_latex.org | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/org/out_latex.org b/org/out_latex.org index d1b6aff..f1fd4bb 100644 --- a/org/out_latex.org +++ b/org/out_latex.org @@ -217,8 +217,14 @@ void writeOutputLaTeX(T,M)( } } if (!exists(pth_latex.latex_path_stuff ~ "/index.html")) { + import doc_reform.io_out.html_snippet; + mixin htmlSnippet; auto f = File(pth_latex.latex_path_stuff ~"/index.html", "w"); - f.writeln(""); + f.writeln(format_html_blank_page_guide_home( + "../../css/html_scroll.css", + "https://sisudoc.org", + "../../index.html", + )); } } catch (ErrnoException ex) { // handle error @@ -282,9 +288,25 @@ void writeOutputLaTeXstyStatic( auto f = File(pth_latex.latex_document_header_sty(filename), "w"); f.writeln(latex_sty); } + if (!exists(pth_latex.base ~ "/index.html")) { + import doc_reform.io_out.html_snippet; + mixin htmlSnippet; + auto f = File(pth_latex.base ~"/index.html", "w"); + f.writeln(format_html_blank_page_guide_home( + "../css/html_scroll.css", + "https://sisudoc.org", + "../index.html", + )); + } if (!exists(pth_latex.base_sty ~ "/index.html")) { + import doc_reform.io_out.html_snippet; + mixin htmlSnippet; auto f = File(pth_latex.base_sty ~"/index.html", "w"); - f.writeln(""); + f.writeln(format_html_blank_page_guide_home( + "../../css/html_scroll.css", + "https://sisudoc.org", + "../../index.html", + )); } } catch (ErrnoException ex) { // handle error |