diff options
author | smcv <smcv@web> | 2017-05-14 07:27:54 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-05-14 07:27:54 -0400 |
commit | f56e365dd0a2ea95b9e041357fb7e38e2c939bce (patch) | |
tree | 282d011bb28e7f64a4315b5407de75f3e7bf890d | |
parent | 02b4fb50c956e0474498b20e79728bd5c2748d14 (diff) | |
download | ikiwiki-f56e365dd0a2ea95b9e041357fb7e38e2c939bce.tar ikiwiki-f56e365dd0a2ea95b9e041357fb7e38e2c939bce.tar.gz |
Added a comment: You can do almost this with an underlay
-rw-r--r-- | doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment | 16 |
1 files changed, 16 insertions, 0 deletions
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`) +"""]] |