aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn
diff options
context:
space:
mode:
authorDataComputist <DataComputist@web>2017-05-08 14:04:22 -0400
committeradmin <admin@branchable.com>2017-05-08 14:04:22 -0400
commit587d5dc8748b3a39d00f107070f1d13a50e81547 (patch)
tree93b8ac399f99b5db859becf83978fc88041ef60d /doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn
parentcd651030eaf5655a33bf7d2157609b07972c8873 (diff)
downloadikiwiki-587d5dc8748b3a39d00f107070f1d13a50e81547.tar
ikiwiki-587d5dc8748b3a39d00f107070f1d13a50e81547.tar.gz
Diffstat (limited to 'doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn')
-rw-r--r--doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn b/doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn
new file mode 100644
index 000000000..45724ba82
--- /dev/null
+++ b/doc/forum/How_to_use_multiple_template_files_directories__63__.mdwn
@@ -0,0 +1,7 @@
+For an ikiwiki source directory, I already have multiple paths for storing template files:
+
+1. /opt/pkg/share/ikiwiki/templates/*.tmpl which came to be as a result of installing ikiwiki via pkgsrc on macOS;
+2. /Users/XXX/config/ikiwiki/templatedir/, a manually created directory for storing *.tmpl files potentially modified by myself but intended to use for all my ikiwiki sites;
+3. /Ysers/XXX/mywiki-srcdir/templates/*.tmpl, which according to https://ikiwiki.info/usage/ is another option to store template files. I intend to store template files potentially modified and only suitable for the particular instance 'mywiki-srcdir'.
+
+I want all three paths to be usable for compiling mywiki-scrdir but want 3 be the default, which should fall back to 2 if a file is missing, which in turn should fall back to 1, if a file is missing.