]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/pagetemplate.mdwn
enhance pagestats and rework example blog front page
[ikiwiki.git] / doc / ikiwiki / directive / pagetemplate.mdwn
1 The `pagetemplate` directive is supplied by the [[!iki plugins/pagetemplate desc=pagetemplate]] plugin.
2
3 This directive allows a page to be displayed using a different template than
4 the default `page.tmpl` template.
5
6 The page text is inserted into the template, so the template controls the
7 overall look and feel of the wiki page. This is in contrast to the
8 [[ikiwiki/directive/template]] directive, which allows inserting templates
9 _into_ the body of a page.
10
11 This directive can only reference templates that are already installed
12 by the system administrator, typically into the
13 `/usr/share/ikiwiki/templates` directory. Example:
14
15         \[[!pagetemplate template="my_fancy.tmpl"]]
16
17 [[!meta robots="noindex, follow"]]