Terminalfour Handlebars
Extend your layouts with a versatile templating engine designed to simplify the process of creating dynamic content.
- Duration
- 1 day
Course Details
Goal
This training course will introduce the concept of Handlebars and give practical examples of how it is currently being used throughout the Terminalfour community of users. Learn more about Handlebars and how they are used.
Audience
Webmasters, developers. It is a prerequisite to have experience in HTML and that attendees have attended Implementer training (formerly known as Web Developer training) or have a working knowledge of Terminalfour version 8 at that level. Knowledge of a templating language and/or JavaScript is recommended.
If you are an Advanced Terminalfour user, who is very familiar with Programmable Layouts, take a look at the Handlebars documentation, and you may find that the documentation is self-explanatory, without the need for full training!
Content covered
- What are Handlebars?
- Learn useful helpers for nav, media, CanonicalURL etc.
- Using Handlebars in Content Layouts and Page Layouts
- Using comparative operators
- Using if-then-else logic
- Formatting dates
- Generating additional logic during preview
- Using default images (where an image hasn't been populated)
- Working with lists and customizing the output of list items
- Wrapping Content Types
Course Code
T205