diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-14 11:16:09 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-19 16:55:31 -0500 |
commit | d61236952f19c1a1107a11cf11874104c0fe1a9b (patch) | |
tree | 838d700a639cdb358fe744361fc593b453de03b8 /src/doc_reform/source/read_source_files.d | |
parent | makefile program version tagging for bin-archive (diff) |
0.8.3 (if exists) get site config & output pathdoc-reform_v0.8.3
- read once & read early:
- once per batch processing
- early (needed by metadata --harvest)
Diffstat (limited to 'src/doc_reform/source/read_source_files.d')
-rw-r--r-- | src/doc_reform/source/read_source_files.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc_reform/source/read_source_files.d b/src/doc_reform/source/read_source_files.d index 05f6630..f4de5fe 100644 --- a/src/doc_reform/source/read_source_files.d +++ b/src/doc_reform/source/read_source_files.d @@ -85,10 +85,10 @@ static template DocReformRawMarkupContent() { string source_txt_str; try { if (exists(fn_src)) { - debug(io) { - writeln("in src, markup source file found: ", fn_src); + if (fn_src.getLinkAttributes.attrIsFile) { + source_txt_str = fn_src.readText; + } else { } - source_txt_str = fn_src.readText; } } catch (ErrnoException ex) { } catch (UTFException ex) { |