The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.

Magnolia Templating Essentials module (MTE) consists of three submodules: a templating kit, templating function libraries, and imaging support. MTE is front-end framework agnostic, which means you can integrate it with any modern framework or create your own templating kit.

Submodules

MTE consists of the following submodules:

  • magnolia-templating-kit (MTK): Templates that you can use in your projects as such or build upon. See MTK module
  • magnolia-templating-essentials-modelsTemplating functions and a page template definition class.
  • magnolia-templating-essentials-imagingImaging functionality for templating. Required when using a rendition of an asset, such as different sized variations of an image.

Installing

Maven is the easiest way to install the modules. Add the following dependencies to your bundle:

<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-kit</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-essentials-models</artifactId>
</dependency>
<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-essentials-imaging</artifactId>
</dependency>