aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_defaults.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-10 16:51:55 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitc98283e3919f39c093e1eb51f80e6f259a7fd103 (patch)
tree77cfd266466f8cab3ecf54f81716a9d2a85f87f8 /src/sdp/ao_defaults.d
parent0.13.0 batch processing, reset values for each document (footnotes, bookindex... (diff)
output, sisupod & a few switches
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r--src/sdp/ao_defaults.d13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d
index 346c0c7..269b8c0 100644
--- a/src/sdp/ao_defaults.d
+++ b/src/sdp/ao_defaults.d
@@ -402,18 +402,21 @@ template SiSUpaths() {
string doc_lng(string fn_src, string lng) {
return chainPath(doc(fn_src), lng).array;
}
- string image(string fn_src) {
- return chainPath(base(fn_src), "image").array;
- }
string conf(string fn_src) {
- return chainPath(base(fn_src), "conf").array;
+ return chainPath(doc(fn_src), "_sisu").array;
+ }
+ string image(string fn_src) {
+ return chainPath(conf(fn_src), "image").array;
}
string css(string fn_src) {
- return chainPath(base(fn_src), "css").array;
+ return chainPath(conf(fn_src), "css").array;
}
string fn_doc(string fn_src, string lng) {
return chainPath((doc_lng(fn_src, lng)), baseName(fn_src)).array;
}
+ string fn_doc_insert(string fn_src, string fn_insert, string lng) {
+ return chainPath((doc_lng(fn_src, lng)), baseName(fn_insert)).array;
+ }
}
struct HtmlPaths {
string base_filename(string fn_src) {