From 9125357297e005a555586c354be18ea03701d342 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 25 Jun 2023 18:18:51 -0400 Subject: replace directory listing, blank index.html --- org/out_src_pod.org | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'org/out_src_pod.org') diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 9f66c3f..b59b217 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -143,6 +143,10 @@ if (doc_matters.opt.action.source_or_pod) { pths_pod.doc_lng(doc_matters.src.filename, doc_matters.src.language).filesystem_open_zpod.mkdirRecurse; } } +if (!exists(pths_pod.pod_dir_() ~ "/index.html")) { + auto f = File(pths_pod.pod_dir_() ~"/index.html", "w"); + f.writeln(""); +} #+END_SRC ** copy :copy: @@ -565,13 +569,13 @@ if (exists(fn_pod)) { # skip .dub/** tmp/** -*_.org -*_.d -*_.txt -*_ -*~ +,*_.org +,*_.d +,*_.txt +,*_ +,*~ \#* -*.\#* +,*.\#* #+END_SRC *** document pod structure -- cgit v1.2.3