Skip to content

Repository files navigation

Sector Block Title Element

Change your Drupal block title elements to a HTML element of your choice.

Usage

{% if label %}
    <{{ title_element | default('strong') }}{{ title_attributes.addClass('block-title') }}>
    {{ label }}
    </{{ title_element | default('strong') }}>
  {% endif %}

About

Allow editors to choose the HTML element for their block titles

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors