Minimal Template Example

The minimal template generates content similarly to the regular template, but ignores site configuration and outputs only a basic HTML structure.

Supported Variables

$FOOT
Javascript and other markup output at the end of the <body> element.
$HEAD
Stylesheets and other markup output at the end of the <head> element.
$TITLE
Content for the <title> element; unlike the regular template, no <h1> element is output.

Example Usage

<?php
  if (!isset($TEMPLATE)) {
    $TITLE = 'Page Title';
    include 'minimal.inc.php';
  }
?>
<!-- content goes here -->