PSAS/ templates

Ikiwiki uses many templates for many purposes. By editing its templates, you can fully customise this site.

Templates are located in /usr/share/ikiwiki/templates by default; the templatedir setting can be used to make another directory be searched first. Customised templates can also be placed inside the "templates/" directory in your wiki's source.

Ikiwiki uses the HTML::Template module as its template engine. This supports things like conditionals and loops in templates and is pretty easy to learn. All you really need to know to modify templates is this:

default content for new pages

The edittemplate directive can be used to make new pages default to containing text from a template page, which can be filled out as the page is edited.

Add a new template named:

note

popup

YYYY-MM-DD - Enter Title Here

wiki templates

These templates are used to build the wiki. The aim is to keep almost all html out of ikiwiki and in the templates.