Skip to content

List Collection Title

Use list_collection_title module to insert a title of the currently viewed collection on a page.

Configuration parameters

none

Module source code

{% from "@macros/section_title.twig" import section_title %}

{% set collection = ObjectApi.getCollection(collection_id) %}

{{ section_title(collection.name, { cssClasses: "collections-section-title" }) }}

Macros reference

Used Object Api methods

Module configuration schema

[]