Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
Flexible Twig Templates in Craft 3
Ryan introduces the course, covering what we need and what we'll learn.
During this course we will build a flexible template stack — a set of Twig templates that together to generate the site pages — that can be used by every section of the site, even new sections that have no templates created specifically for them. The templates are included dynamically based on the Section handle and the Entry Type handle.
The goal of the course is to learn how the template stack works and to demonstrate some more advanced usage of Craft and Twig.
We hope that this will stimulate ideas for how you can improve your own site implementations so your templates are as reusable and concise as possible.
Here’s what we’ll learn in this course:
Flexible Twig Templates in Craft 3 is made up of the following videos: