title = "Blog tag"
url = "/blog/tag/:slug/:page?"
layout = "default"
is_hidden = 0
[searchPosts]
slug = "{{ :slug }}"
pageNumber = "{{ :page }}"
postsPerPage = 8
postPage = "post"
sortOrder = "published_at desc"
[blogCategories]
slug = "{{ :slug }}"
displayEmpty = 0
categoryPage = "blog-category"
[topPosts]
period = 2
category = 0
postPerPage = 4
postPage = "post"
slug = "{{ :slug }}"
[searchInput]
useAutoComplete = 0
autoCompleteResultCount = 5
showProviderBadge = 1
searchPage = "search-results.htm"
[tags]
results = 0
sortOrder = "created_at desc"
==
components['searchPosts']->tag) {
$this->page->title = 'Topic: ' . $this->components['searchPosts']->tag->name . ' posts';
}
}
?>
==
{% set posts = searchPosts.posts %}
{% set tag = searchPosts.tag %}
{# COVER #}
{% partial 'blog/cover' type='tag' title=tag.name lead='' %}
{# POSTS #}
Total results: {{ searchPosts.posts.total }}