Skip to content

Allow editors to choose the HTML element for their block titles

Notifications You must be signed in to change notification settings

sparksi/sector-block-title-element

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

No releases published

Packages

No packages published