aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/doc_reform/meta/conf_make_meta_structs.d12
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d8
2 files changed, 14 insertions, 6 deletions
diff --git a/src/doc_reform/meta/conf_make_meta_structs.d b/src/doc_reform/meta/conf_make_meta_structs.d
index 10a754a..91ecab7 100644
--- a/src/doc_reform/meta/conf_make_meta_structs.d
+++ b/src/doc_reform/meta/conf_make_meta_structs.d
@@ -48,9 +48,9 @@ struct ConfCompositeMakeStr {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "{Spine, Doc Reform}http://www.doc-reform.org;"
- ~ " {www.doc-reform.org}http://www.doc-reform.org;"
- ~ " {sources / git}https://git.doc-reform.org/software/spine";
+ string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ ~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string italics;
string auto_num_top_at_level;
int auto_num_top_lv = 9;
@@ -131,9 +131,9 @@ struct ConfCompositeMakeInit {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "{Spine, Doc Reform}http://www.doc-reform.org;"
- ~ " {www.doc-reform.org}http://www.doc-reform.org;"
- ~ " {sources / git}https://git.doc-reform.org/software/spine";
+ string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ ~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string[] italics;
string auto_num_top_at_level;
int auto_num_top_lv = 9;
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