element. Therefore it is not needed to repeat this code and write it only once.
A layout can look this:
.. code-block:: html
This means that the output of the section ``content`` will be rendered inside a div with the class ``news``.
Templates
^^^^^^^^^
Every action (like the list view, the detail view, date menu or a category listing) needs its own template which can be
found at ``Templates/
/.html``.
If **Layouts** are used, it is required to define the name of the Layout (which is identical to the file name of the Layout file).
.. code-block:: html
This will be rendered
.. note:: It is optional to use Layouts. If those are not used, the complete content of the Template is shown.
Partials
^^^^^^^^
Partials are used within templates to be able to reuse code snippets. If you open the template ``News/List.html`` you will see the partial:
.. code-block:: html
This will embed the output of the partial which is located at ``Partials/List/Item.html`` (as stated in the attribute *partial* ). All
arguments which are used in the attribute *arguments* are available in the partial itself.
You can create your own partials and name them as you like
Sections
^^^^^^^^
Sections are very similar to partials. The difference is that sections are defined in the same file as the template.
ViewHelpers
^^^^^^^^^^^
Ever fluid viewhelper starts with **