In this course, you will get a comprehensive overview of working with Twig templates in Craft. The goal is to get over the hump of writing Twig code, dispel any myth that using Twig is difficult, and help you take the next step in using Craft.
Ryan is the founder of Mijingo and former Vice President of Technology at Happy Cog, one of the premiere web design agencies, where he helped manage web projects for some of the most prominent brands in the world. Ryan has authored two books and numerous video courses for web designers and developers.
Creating Navigation and Pagination In module 3, we're going to cover both Craft navigation tags and pagination tags. Both of these tags are specific to Craft and not part of Twig. But it's important to cover them because they both give you some powerful features. The navigation tag allows you to create a hierarchical navigation for structure-type sections or category groups. And the pagination tags allow you to paginate your entries into multiple pages. So, two very fundamental functionality pieces that I think it's important for you to know. We're going to start off with the nav tag first because it's the simplest one in terms of it's very straightforward to implement, and there's not a lot of extra functionality that you have to worry about. We'll then move into the pagination tag and look at how that works in our Happy Lager sample site because using it is going to cause us to disrupt our template a little bit and restructure some things. Let's get started, and this is module 3, and then we'll be wrapping up this course on Craft and Twig templating.