PHP varialbles that can be used in templates:

  • $pageName - human readable page name
  • $pageBody - page body as HTML
  • $pageID - encoded $pageName, can be safely passed in URLs
  • $encodedPageBody - $pageBody with HTML tags encoded, can be safely placed in tag attribute
  • $lastModified - date/time of last modification of this file, see: Configuration



“Perfection is finally attained not when there is no longer anything to add but when there is no longer anything to take away.”
-- Antoine de Saint-Exupery