aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_conf_make_meta.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r--org/meta_conf_make_meta.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org
index d80a270..de0080b 100644
--- a/org/meta_conf_make_meta.org
+++ b/org/meta_conf_make_meta.org
@@ -44,6 +44,7 @@ webserv:
cgi_bin_url: "http://localhost/cgi-bin"
cgi_bin_part: "cgi-bin"
cgi_bin_path: "/usr/lib/cgi-bin"
+ cgi_search_title: "≅ SiSU spine search form"
cgi_search_script: "spine-search"
cgi_search_script_raw_fn_d: "spine_search.d"
cgi_port: ""
@@ -266,6 +267,7 @@ struct ConfCompositeSiteLocal {
string w_srv_cgi_domain; // if not set same as webserv_domain
string w_srv_cgi_bin_part;
string w_srv_cgi_bin_path;
+ string w_srv_cgi_search_title;
string w_srv_cgi_search_script;
string w_srv_cgi_search_script_raw_fn_d;
string w_srv_cgi_port;
@@ -690,6 +692,16 @@ if ("webserv" in _yaml
) {
_struct_composite.conf.w_srv_cgi_bin_path = _yaml["webserv"]["cgi_bin_path"].get!string;
}
+ if (_opt_action.cgi_search_title.length > 0) {
+ _struct_composite.conf.w_srv_cgi_search_title = _opt_action.cgi_search_title;
+ } else if ("cgi_search_title" in _yaml["webserv"]
+ && _yaml["webserv"]["cgi_search_title"].type.string
+ && _yaml["webserv"]["cgi_search_title"].tag.match(rgx.yaml_tag_is_str)
+ ) {
+ _struct_composite.conf.w_srv_cgi_search_title = _yaml["webserv"]["cgi_search_title"].get!string;
+ } else {
+ _struct_composite.conf.w_srv_cgi_search_title = "≅ SiSU spine search form";
+ }
if (_opt_action.cgi_sqlite_search_filename.length > 0) {
_struct_composite.conf.w_srv_cgi_search_script = _opt_action.cgi_sqlite_search_filename;
} else if ("cgi_search_script" in _yaml["webserv"]