diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-06-20 13:45:58 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-17 19:07:20 -0400 |
commit | 2dd7d2083c23fe9e79a984c534c2283fc4d7e581 (patch) | |
tree | 22deaa43f6888ea6c324a27b5fd4ec9b3546fb63 /src/doc_reform/meta/metadoc_harvest.d | |
parent | harvest html output (diff) |
harvest reorganized
Diffstat (limited to 'src/doc_reform/meta/metadoc_harvest.d')
-rw-r--r-- | src/doc_reform/meta/metadoc_harvest.d | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/doc_reform/meta/metadoc_harvest.d b/src/doc_reform/meta/metadoc_harvest.d index 26f2b38..2a83814 100644 --- a/src/doc_reform/meta/metadoc_harvest.d +++ b/src/doc_reform/meta/metadoc_harvest.d @@ -2,7 +2,7 @@ module doc_reform.meta.metadoc_harvest; template DocReformMetaDocHarvest() { auto DocReformMetaDocHarvest(T,H)( T doc_matters, - H harvest, + H hvst, ) { import doc_reform.meta.defaults, @@ -21,19 +21,19 @@ template DocReformMetaDocHarvest() { mixin InternalMarkup; auto markup = InlineMarkup(); import doc_reform.output.paths_output; - auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); - harvest.title = doc_matters.conf_make_meta.meta.title_full; - harvest.author = doc_matters.conf_make_meta.meta.creator_author; - harvest.author_surname = doc_matters.conf_make_meta.meta.creator_author_surname; - harvest.author_surname_fn = doc_matters.conf_make_meta.meta.creator_author_surname_fn; - harvest.author_arr = doc_matters.conf_make_meta.meta.creator_author_arr; - harvest.language_original = doc_matters.conf_make_meta.meta.original_language; - harvest.language = doc_matters.src.language; - harvest.uid = doc_matters.src.doc_uid; - harvest.date_published = doc_matters.conf_make_meta.meta.date_published; - harvest.topic_register_arr = doc_matters.conf_make_meta.meta.classify_topic_register_arr; - harvest.path_html_scroll = pth_html.fn_scroll(doc_matters.src.filename); - harvest.path_html_seg = pth_html.fn_seg(doc_matters.src.filename, "toc"); - return harvest; + auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); + hvst.harvest.title = doc_matters.conf_make_meta.meta.title_full; + hvst.harvest.author = doc_matters.conf_make_meta.meta.creator_author; + hvst.harvest.author_surname = doc_matters.conf_make_meta.meta.creator_author_surname; + hvst.harvest.author_surname_fn = doc_matters.conf_make_meta.meta.creator_author_surname_fn; + hvst.harvest.author_arr = doc_matters.conf_make_meta.meta.creator_author_arr; + hvst.harvest.language_original = doc_matters.conf_make_meta.meta.original_language; + hvst.harvest.language = doc_matters.src.language; + hvst.harvest.uid = doc_matters.src.doc_uid; + hvst.harvest.date_published = doc_matters.conf_make_meta.meta.date_published; + hvst.harvest.topic_register_arr = doc_matters.conf_make_meta.meta.classify_topic_register_arr; + hvst.harvest.path_html_scroll = pth_html.fn_scroll(doc_matters.src.filename); + hvst.harvest.path_html_seg = pth_html.fn_seg(doc_matters.src.filename, "toc"); + return hvst.harvest; } } |