diff options
Diffstat (limited to 'org/default_paths.org')
-rw-r--r-- | org/default_paths.org | 14 |
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) +/ |