aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_paths.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/default_paths.org')
-rw-r--r--org/default_paths.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/org/default_paths.org b/org/default_paths.org
index 9bf56d5..27caf8b 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -277,6 +277,23 @@ template PathMatters() {
}
return _uid;
}
+ /+ ↓ doc_uid_out without the trailing ".{lng}", for the artefacts
+ that hold every language of a document in one file rather
+ than one file per language (the .ocda.db)
+ +/
+ string doc_uid_out_no_lang() {
+ string _uid;
+ if (is_pod && !(pod_name_with_path.empty)) {
+ if (pod_name_with_path.baseName == filename_base) {
+ _uid = filename_base;
+ } else {
+ _uid = pod_name_with_path.baseName ~ mkup.uid_sep ~ filename_base;
+ }
+ } else {
+ _uid = "_" ~ filename_base;
+ }
+ return _uid;
+ }
string docname_composite_unique_per_src_doc() {
string _fn;
if (pod_name_with_path.baseName == filename_base) {