Page tree
Skip to end of metadata
Go to start of metadata

Template

Introduction

Every page in Magnolia is defined by its according page template. A template is a blueprint for creating pages, areas, and components.

There are three templates in Magnolia: Page, Area and Component.

Template Essentials

To create a template, template definition, template script and dialog definition are needed.

Template definition

Specifies the configuration needed: a script and a renderer. A YAML file.

Template script

Defines the HTML to be rendered. Written in a templating language such as FreeMarker. An FTL file.

Dialog definitionThe author's interface to add and edit content.

Template References Map

     

  • No labels