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-07 19:40:18 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-01-13 16:06:43 -0500
commit9d359a564344b848feb23df2877ecdfa614ada19 (patch)
tree6e86983069206310189c681b46601e0898c37470 /src/doc_reform/meta/conf_make_meta_yaml.d
parentmetaverse, remove newline after endnote (diff)
xmls, home button fixes
Diffstat (limited to 'src/doc_reform/meta/conf_make_meta_yaml.d')
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d8
1 files changed, 8 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 a01a025..8f1f885 100644
--- a/src/doc_reform/meta/conf_make_meta_yaml.d
+++ b/src/doc_reform/meta/conf_make_meta_yaml.d
@@ -106,6 +106,14 @@ static template contentYAMLtoSpineStruct() {
&& _yaml["make"]["home_button_text"].tag.match(rgx.yaml_tag_is_str)
) {
_struct_composite.make_str.home_button_text = _yaml["make"]["home_button_text"].get!string;
+ } else if ("home_button_text" in _yaml["make"]
+ && _yaml["make"]["home_button_text"].type.string
+ && _yaml["make"]["home_button_text"].tag.match(rgx.yaml_tag_is_seq)
+ ) {
+ _struct_composite.make_str.home_button_text = "";
+ foreach(string hbt; _yaml["make"]["home_button_text"]) {
+ _struct_composite.make_str.home_button_text ~= hbt ~ "; ";
+ }
}
if ("italics" in _yaml["make"]
&& _yaml["make"]["italics"].type.string