Skip to content

Blog Tag List Title

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 title = ObjectApi.getSeoProperties() %}
{% set shopUrls = ObjectApi.getShopUrls() %}

{{ page_title(translate('Entries tagged "%s"', title.description), 'blog-tag-list-title') }}

<script type="application/ld+json">
    {
        "@context": [
            "http://schema.org/",
            { "@base": "{{ shopUrls.mainPageUrl.absolute }}" }
        ],
        "@id": "{{ shopUrls.blogListUrl.relative }}",
        "@type": "Article",
        "name": "{{ title.description }}"
    }
</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"
                    ]
                }
            }
        ]
    }
]