From: smcv Date: Sun, 14 May 2017 11:27:54 +0000 (-0400) Subject: Added a comment: You can do almost this with an underlay X-Git-Tag: debian/3.20170622~63 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/f56e365dd0a2ea95b9e041357fb7e38e2c939bce?hp=02b4fb50c956e0474498b20e79728bd5c2748d14 Added a comment: You can do almost this with an underlay --- 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`) +"""]]