| Name | Type | Description |
| object_type | String | Will always be datastore_item |
| is_valid | Boolean | True if this references a published blog_post |
| guid | String | The unique identifier for this blog_post |
| value | String | Synonymn for guid |
| name | text | The name of the blog_post |
| title | text | The title of the blog_post |
| linked_title | String | A link to the blog_post if it has a URL, or the escaped title if not |
| blog_guid | String | The unique identifier of the related blog |
| blog | blog | Reference to the related blog object |
| image_guid | String | The unique identifier of the related image |
| image | image | Reference to the related image object |
| summary_html | html | Short HTML summary used in list views |
| content_html | html | The primary HTML content for the blog post |
| post_date | datetime | The primary date associated with this blog post - typically the date that it was originally written or posted and set by the content editor |
| tags | tags | The list of tags associated with this blog_post |
| authors | authors | The list of authors associated with this blog_post |
| has_url | Boolean | True if the blog_post has a URL |
| include_in_search | Boolean | Whether or not this blog_post should be returned in on-site search results |
| domain_name | text | The domain name used by the URL for this blog_post |
| url | text | The portion of the URL for this blog_post following the domain name |
| full_url | String | The full URL for this blog_post including the scheme, domain name, and path |
| visited | Boolean | Whether or not the user has visited this URL previously in their current session. Note that this will always be false if the user has not allowed session permission (see the Permissions and Personalization documentation). Using this property prevents the page from being fast-cached |
| template_guid | String | The unique identifier for the template that would be used to respond to this URL |
| template | template | The template that would be used to respond to this URL |
| canonical_url | url | The canonical URL if this is not the original source of content for this URL |
| browser_title | text | The browser title to use for this URL |
| meta_description | textarea | The meta description for this URL |
| meta_robots | text | The meta robots for this URL |
| keywords | textarea | The SEO keywords for this URL |
| search_entity_guid | String | The unique identifier for the entity that search results should be directed to (if this blog_post does not have a URL) |
| search_entity | entity | The entity that search results should be directed to (if this blog_post does not have a URL) |
| folder_guid | String | The unique identifier for the folder that contains this blog_post. |
| folder | folder | The folder that contains this blog_post. |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | The default output that the blog_post produces when output directly to the template. The default output may change at any time. Template developers should avoid using this and should handle the output of blog posts themselves |
| data | data | Object containing the custom fields on this blog_post |
| * | String | Specific custom fields may be accessed using {{ entity.fieldid }} or {{blog_post['field-id']}} |
Contains multiple blog_posts.
| Name | Type | Description |
| output | String | The default output that the blog_posts will produce when it is output directly to the template - using the "output_in_list" property of each blog_post in the items list |
Use the group_by filter to group objects by a specific property. For example, you can group a list of blog posts by blog.
Group blog posts by blog
Copy{{ group.Key.title }}: {{ group.Value | size }}
{% endfor %}Getting request parameters and fetching blog_posts
CopySearch only blog post entities by a query parameter
CopyUse the random filter to get a random blog post from a list of blog posts.
Get a random blog post from a list of blog posts
CopyUse the rand filter to get 3 random blog posts from a list of blog posts. Do not allow duplicates.
Get 3 random blog posts from a list of blog posts
CopyUse the map filter to map blog posts to their linked title. The map filter could just as easily be used for any other property as well.
Map a list of blog posts to their linked titles
Copy