blog_page template

The blog_page.twig template can be used to provide a template for the blog pages.


Template considerations

It has access to the archive and categories objects to display the archive and category menus for users to see particular blog posts.

You can use the {% if post %} variable to determine whether the template is rendering an individual blog post or the /blog home page.

The blog post (if an individual blog post) or blog posts (if more than one) are rendered within the {% block posts %}{% endblock %} expression.