aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/conf_make_meta_yaml.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-13 09:09:24 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-01-13 16:06:43 -0500
commit0c4b3cb3707c3b16cd171620427e651d71182813 (patch)
tree2027a8f9449eab7b2b878ee9f1554a417563b73f /src/doc_reform/meta/conf_make_meta_yaml.d
parentharvest topics, name hashtag level names (diff)
present per document metadata
Diffstat (limited to 'src/doc_reform/meta/conf_make_meta_yaml.d')
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doc_reform/meta/conf_make_meta_yaml.d b/src/doc_reform/meta/conf_make_meta_yaml.d
index 5576b1c..1467fea 100644
--- a/src/doc_reform/meta/conf_make_meta_yaml.d
+++ b/src/doc_reform/meta/conf_make_meta_yaml.d
@@ -679,6 +679,12 @@ static template contentYAMLtoSpineStruct() {
) {
_struct_composite.meta.notes_description = _yaml["notes"]["description"].get!string;
}
+ if ("summary" in _yaml["notes"]
+ && _yaml["notes"]["summary"].type.string
+ && _yaml["notes"]["summary"].tag.match(rgx.yaml_tag_is_str)
+ ) {
+ _struct_composite.meta.notes_summary = _yaml["notes"]["summary"].get!string;
+ }
}
}
if ("original" in _yaml