Template variables
blog_page_path
blog_page_pathblog_root
blog_rootfilter_posts
filter_posts<ul>
{% for post in filter_posts(category_slug='some-category-slug', limit=3) %}
<li><a href="{{ post.url(**post_url_params) }}">{{ post.title }}</a></li>
{% endfor %}
</ul>get_breadcrumbs
get_breadcrumbs
Usage
Simple usage
include_home option
include_home optionpreprend_items option
preprend_items optionTemplate example
get_categories
get_categoriesValue
Description
get_image
get_imageInitialize the image using the ID of the image.
Get an image path by size
Images and videoget_menu
get_menuGenerating a menu tree
Additional options
root_link option
root_link optionget_posts
get_postsSimple usage
Limiting the number of posts to return
Filtering posts by category
Multiple blog roots
Blog posts from a different Site
Filtering recent posts by location ID
now
nowpages
pagesOutput all pages
Filtering pages
Ordering pages
Accessing custom fields
Get a single page
Available page fields
Property
Example
pages.as_navigation
pages.as_navigationSimple example - Full sitemap
Sidemenu example
primary_location
primary_locationset_schema_overrides
set_schema_overridesLast updated
Was this helpful?