Create a template ################# 1. :file:`metadata` configuration ================================= Template metadata are described in :ref:`the API documentation `. 2. Template variation configuration =================================== You can optionnaly define a :ref:`template variation configuration ` if your template is customisable by context. 3. View file creation ===================== File location depends on the ``file`` key configured in the :file:`metadata.config.php` file. Inside the template, some variable can be accessed: :$wysiwyg: A hash which keys are the WYSIWYG name configured in the :file:`metadata.config.php` file and values are content the user entered. :$page: ``Nos\model_Page`` instance. :$title: The title to put in a ``h1`` tag :$main_controller: :ref:`Front controller instance `. .. code-block:: html
This header will be displayed on all pages configured to use this template.