]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Added a comment: You can do almost this with an underlay
authorsmcv <smcv@web>
Sun, 14 May 2017 11:27:54 +0000 (07:27 -0400)
committeradmin <admin@branchable.com>
Sun, 14 May 2017 11:27:54 +0000 (07:27 -0400)
doc/forum/How_to_use_multiple_template_files_directories__63__/comment_1_a333f20af1154bb5f6663874ea716f6c._comment [new file with mode: 0644]

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 (file)
index 0000000..11c302f
--- /dev/null
@@ -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`)
+"""]]