aboutsummaryrefslogtreecommitdiff
path: root/doc/templates.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/templates.mdwn')
-rw-r--r--doc/templates.mdwn8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 101b69763..5120021a7 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -39,9 +39,11 @@ large chunks of marked up text to be embedded into a template:
## Creating a template
-To create a template, simply add a template directive to a page, and page will
-provide a link that can be used to create the template. The template is a
-regular wiki (.mdwn) page, **located in the `templates/` directory** under source control. Nothing to do with **templatedir** from your ikiwiki configuration.
+To create a template, simply add a template directive to a page, and the
+page will provide a link that can be used to create the template. The template
+is a regular wiki page, located in the `templates/` subdirectory inside
+the source directory of the wiki. (Not to be confused with the
+[[wikitemplates]] which are stored in a different location.)
The template uses the syntax used by the [[!cpan HTML::Template]] perl
module, which allows for some fairly complex things to be done. Consult its