aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/defaults.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-06-20 13:45:58 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commit2dd7d2083c23fe9e79a984c534c2283fc4d7e581 (patch)
tree22deaa43f6888ea6c324a27b5fd4ec9b3546fb63 /src/doc_reform/meta/defaults.d
parentharvest html output (diff)
harvest reorganized
Diffstat (limited to 'src/doc_reform/meta/defaults.d')
-rw-r--r--src/doc_reform/meta/defaults.d28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/doc_reform/meta/defaults.d b/src/doc_reform/meta/defaults.d
index fc5e5d1..4a4ae8f 100644
--- a/src/doc_reform/meta/defaults.d
+++ b/src/doc_reform/meta/defaults.d
@@ -87,6 +87,34 @@ template DocReformNode() {
return _node;
}
}
+template DocReformHarvest() {
+ auto DocReformHarvest() {
+ struct _Harvest {
+ struct Harvest {
+ string title = "";
+ string[] author_arr = [];
+ string author = "";
+ string author_surname = "";
+ string author_surname_fn = "";
+ string language = "";
+ string language_original = "";
+ string uid = "";
+ string date_published = "";
+ string[] topic_register_arr = [];
+ string path_html_seg = "";
+ string path_html_scroll = "";
+ string path_epub = "";
+ string url_html_seg = "";
+ string url_html_scroll = "";
+ string url_epub = "";
+ }
+ Harvest harvest;
+ Harvest[] harvests;
+ Harvest[][string][string][string][string] subject_trees;
+ }
+ return _Harvest();
+ }
+}
template DocReformBiblio() {
// required: deemed_author (author || editor); year; fulltitle;
struct BibJsnStr {