diff options
Diffstat (limited to 'org/default_paths.org')
-rw-r--r-- | org/default_paths.org | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/org/default_paths.org b/org/default_paths.org index 418fef2..b9c9ce6 100644 --- a/org/default_paths.org +++ b/org/default_paths.org @@ -1627,51 +1627,6 @@ template spinePathsSQLite() { } #+END_SRC -*** TODO cgi search form - -#+NAME: template_paths_sqlite_2 -#+BEGIN_SRC d -template spinePathsSQLiteCGI() { - mixin spineRgxIn; - static auto rgx = RgxI(); - auto spinePathsSQLiteCGI()( - string cgi_search_form_d, - string cgi_search_form, - string output_pth_root, - ) { - struct _PathsStruct { - string base_filename(string fn_src) { - return fn_src.baseName.stripExtension; - } - string base() { - auto out_pth = spineOutPathSQLiteCGI!()(output_pth_root); - string base_dir = "cgi"; - return (((out_pth.output_root).chainPath(base_dir)).asNormalizedPath).array; - } - string src() { - return ((base.chainPath("src")).asNormalizedPath).array; - } - string cgi_bin() { - return ((base.chainPath("cgi-bin")).asNormalizedPath).array; - } - string dub_sdl_path_out() { - return ((base.chainPath("dub.sdl")).asNormalizedPath).array; - } - string search_form_dub_path() { - return ("src/".chainPath(base_filename(cgi_search_form_d)).asNormalizedPath).array; - } - string search_form_path_out() { - return (src.chainPath(cgi_search_form_d).asNormalizedPath).array; - } - string cgi_d_path_out() { - return (src.chainPath("cgi.d").asNormalizedPath).array; - } - } - return _PathsStruct(); - } -} -#+END_SRC - * document header including copyright & license #+NAME: doc_header_including_copyright_and_license |