From 82d94b3ff78285afaa212d6e0a364f59c2938316 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 26 Jun 2023 15:37:43 -0400 Subject: replace some instances of dir listing, index.html --- org/out_xmls.org | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'org/out_xmls.org') diff --git a/org/out_xmls.org b/org/out_xmls.org index febee54..33f2213 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -23,6 +23,52 @@ 2023 #+END_SRC +* html snippet +** _module template_ :module: + +#+HEADER: :tangle "../src/doc_reform/io_out/html_snippet.d" +#+HEADER: :noweb yes +#+BEGIN_SRC d +<> +module doc_reform.io_out.html_snippet; +template htmlSnippet() { + import + std.file, + std.outbuffer, + std.format, + std.uri, + std.conv : to; + import + doc_reform.io_out.rgx, + doc_reform.meta.rgx_files, + doc_reform.io_out.rgx_xhtml; + auto format_html_blank_page_guide_home()( + string css_style, + string home_url, + string collection_home_path + ) { + auto html_blank_default = format(q"┃ + + + + + + +

+ ⟰   +  ≅  +

+ +┃", + css_style, + home_url, + collection_home_path + ); + return html_blank_default; + } +} +#+END_SRC + * xml offspring (xhtml html epub) ** format xhtml objects :format: *** _module template_ :module: -- cgit v1.2.3