Tutorial Wagtail Version: 2.x
Routable Pages allow us to create "subpages" under any regular Wagtail Page. Essentially, we can create pages with urls that aren't accessible through the Wagtail CMS admin. We'll learn how to implement routable pages, how to add additional context to the new page, how to render a new page template, how to reverse the routable page url in the template and how to reverse the routable page url in the Wagtail model.
Routable Pages allow us to create "subpages" under any regular Wagtail Page. What that means is: we can create pages with urls that aren't accessible through the Wagtail CMS admin.
This is particularly useful when integrating into larger applications or adding detail pages without needing to enter the content into a new Wagtail Page. Routable Pages are great in instances like these:
In this video we're going to explore how to create a Routable Page on our Home Page, and also another Routable Page on the Blog Listing Page. We'll also learn how to reverse the routable page urls through the template and how to reverse routable page urls using Python in our Wagtail model.
If you're interested in the entire GitHub commit, you can find it here: link
Routable Page Categories And Years
Posted on
Let's take a look at how we can filter blog posts by their URL. Previously we made a Blog Listing Page with the URL of /blog/. In this tutorial we'll add /blog/category/{category_name}/ and filter pages based on the slug in the URL.
Adding Tags to Pages
Posted on
In this tutorial we'll discover how to add Tags (with an autocomplete feature) to Wagtail Pages. We'll also learn how to filter blog posts by a certain tag.
Adding, Modifying and Removing Sitemap Entries
Posted on
In this video we are going to learn how to install Wagtail Sitemaps (sitemap.xml) and how to add, remove and modify sitemap data in a Wagtail Page.
How to Subclass Wagtail Pages
Posted on
Subclassing is having a class (in this case it's a Wagtail Page) that can be used for other classes (Wagtail Page's). The parent class has all the common attributes for the child pages, and every child page will inherit everything from it's parent. In this lesson we'll explore that by creating a subclassed Article and Video Blog Page that share a common parent, and then we'll extend the functionality of both subclassed pages by adding new fields.
This course covers everything from basic installation to advanced features like custom blocks and API integration, it's perfect for developers looking to enhance their skills with this powerful CMS.