From f56e365dd0a2ea95b9e041357fb7e38e2c939bce Mon Sep 17 00:00:00 2001 From: smcv Date: Sun, 14 May 2017 07:27:54 -0400 Subject: Added a comment: You can do almost this with an underlay --- .../comment_1_a333f20af1154bb5f6663874ea716f6c._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment diff --git a/doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment b/doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment new file mode 100644 index 000000000..11c302fb9 --- /dev/null +++ b/doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="smcv" + avatar="http://cdn.libravatar.org/avatar/0ee943fe632ff995f6f0f25b7167d03b" + subject="You can do almost this with an underlay" + date="2017-05-14T11:27:53Z" + content=""" +The exact situation that you have described is not currently possible, because +`templatedir` can only have one value. But you can have a very similar practical result +like this: + +* Create `/Users/XXX/config/ikiwiki/underlay/` or something (the name is unimportant, + you can use anything) +* Put your templates in `/Users/XXX/config/ikiwiki/underlay/templates/` +* Include `/Users/XXX/config/ikiwiki/underlay` in the `underlaydirs` configuration + option (the syntax is the same as `add_plugins`) +"""]] -- cgit v1.2.3