aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_paths.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-12-16 17:18:01 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit51fd56020424dcca50c4b8cfb3877640a6a9656b (patch)
tree052b45cb065e2edc6fdf470d2c09b84c21eb9937 /org/default_paths.org
parenttarget different type of config file locations (diff)
target config file locations, refine
Diffstat (limited to 'org/default_paths.org')
-rw-r--r--org/default_paths.org14
1 files changed, 12 insertions, 2 deletions
diff --git a/org/default_paths.org b/org/default_paths.org
index 93711dc..dfaf362 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -135,12 +135,16 @@ template PodMatters() {
string[] _image_dirs;
return _image_dirs;
}
- auto src_fn() {
+ auto src_path_and_fn() {
return _fns;
}
+ auto src_fn() {
+ auto _fn = (src_path_and_fn).match(rgx.src_pth_sst_or_ssm).captures["filename"];
+ return _fn;
+ }
auto src_lng() {
string _k;
- if (auto m = (src_fn).match(rgx.language_code_and_filename)) {
+ if (auto m = (src_path_and_fn).match(rgx.language_code_and_filename)) {
_k = m.captures[1];
} else {
_k = "en";
@@ -199,6 +203,9 @@ template ConfigFilePaths() {
E _env,
) {
struct ConfFilePaths {
+ auto config_filename_document() {
+ return "config_document";
+ }
auto possible_config_path_locations_document() {
/+ FIX clean up conf paths ↓ +/
/+ config local site (file system only, not in pod) +/
@@ -242,6 +249,9 @@ template ConfigFilePaths() {
+/
return _possible_config_path_locations;
}
+ auto config_filename_site() {
+ return "config_local_site";
+ }
auto possible_config_path_locations_local_site() {
/+ FIX clean up conf paths ↓ +/
/+ config local site (file system only, not in pod) +/