Skip to content

Blog Category List Title

Use blog_category_list_title module to insert a title of the currently viewed category blog list page. This module is available only within a blog category 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(title.description, 'blog-category-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

json []