aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsmcv <smcv@web>2017-05-14 07:27:54 -0400
committeradmin <admin@branchable.com>2017-05-14 07:27:54 -0400
commitf56e365dd0a2ea95b9e041357fb7e38e2c939bce (patch)
tree282d011bb28e7f64a4315b5407de75f3e7bf890d /doc
parent02b4fb50c956e0474498b20e79728bd5c2748d14 (diff)
downloadikiwiki-f56e365dd0a2ea95b9e041357fb7e38e2c939bce.tar
ikiwiki-f56e365dd0a2ea95b9e041357fb7e38e2c939bce.tar.gz
Added a comment: You can do almost this with an underlay
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment16
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`)
+"""]]