aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_paths.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-10-09 13:10:49 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-04-10 15:14:15 -0400
commit49f6c45c3d60fe0251843cc23ce289ec23b3501b (patch)
tree70604d0b0a09ca0ec96949bada9f8ec6f0082baa /org/default_paths.org
parentxmls segmented heading inline links (diff)
internal links
Diffstat (limited to 'org/default_paths.org')
-rw-r--r--org/default_paths.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/org/default_paths.org b/org/default_paths.org
index 932b034..806b0f7 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -1054,6 +1054,15 @@ template DocReformPathsHTML() {
string fn_seg(string fn_src, string seg_filename) {
return asNormalizedPath(seg(fn_src).chainPath(seg_filename ~ suffix)).array;
}
+ string tail_seg(string fn_src) {
+ return lng ~ "/html/" ~ base_filename(fn_src);
+ }
+ string tail_fn_scroll(string fn_src) {
+ return lng ~ "/html/" ~ base_filename(fn_src) ~ suffix;
+ }
+ string tail_fn_seg(string fn_src, string seg_filename) {
+ return lng ~ "/html/" ~ seg(fn_src) ~ "/" ~ seg_filename ~ suffix;
+ }
}
return _PathsStruct();
}