Blog Tag List Title¶
Availability:
Use blog_tag_list_title module to insert a title of the currently viewed tag page. This module is available only within a blog tag page.
Configuration parameters¶
none
Module source code¶
{% from "@macros/page_title.twig" import page_title %}
{% set shopUrls = ObjectApi.getShopUrls() %}
{% set blogTag = tag_id ? ObjectApi.getBlogTag(tag_id) : null %}
{% set blogTagName = blogTag ? blogTag.name : '' %}
{{ page_title(translate('Entries tagged "%s"', blogTagName), 'blog-tag-list-title') }}
<script type="application/ld+json">
{
"@context": [
"http://schema.org/",
{ "@base": "{{ shopUrls.mainPageUrl.absolute }}" }
],
"@id": "{{ shopUrls.blogListUrl.relative }}",
"@type": "Article",
"name": "{{ blogTagName }}"
}
</script>
Macros reference¶
Used Object Api methods¶
Used styles¶
Module configuration schema¶
[
{
"state": "unfolded",
"label": "General settings",
"elements": [
{
"type": "infobox",
"name": "infobox",
"options": {
"type": "blank",
"message": "#### Related settings in the admin panel%s- changing phrases in [translations](%s)",
"placeholderValues": [
"\n",
"\/admin\/configLanguages\/list"
]
}
}
]
}
]