Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to customize the main heading (H1 tag) on your pages, separate from the entity's label. It uses the Metatag module's token system to dynamically generate page headings, making it useful when you need the displayed title to differ from the underlying content title.

This module provides a way to override the visible page heading (<h1> tag - internally called "page_title" by Drupal, not to be confused with the <title> tag) keeping the entity label, by using the wonderful Metatags token functionality.

This module is typically useful, if the visible page title should differ from the entity label.
So if your entity is for example a "Job" node bundle entity, called "Drupal Developer" you can use "Great [node:title] Job" to get <h1>Great Drupal Developer Job</h1> as page title for SEO and your users! 🚀

Please note:
This module overrides the title using "hook_preprocess_page_title". This means that all twig title theming (e.g. h1 child elements / classes) provided by themes, will be overridden and lost! See #3466576: Allow altering the page title (text) before it is passed to the theming layer.
If that's a problem in your case, consider https://www.drupal.org/project/node_title_ps as a lightweight alternative.

Features

Implements a new "page_heading" metatag which can be used to overwrite the page heading for contents, taxonomy terms and more (everywhere metatags can be used).

Note, that the "page_heading" metatag won't be used as an actual <meta> tag. But instead, it uses the Drupal metatag module infrastructure to attach to the desired page.

Post-Installation

Once the module is installed, a new "Page Heading" metatag group will appear, which provides the new "Page heading (h1)" metatag.

Additional Requirements

This module requires the Metatag module.

Similar projects

Extending modules

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)

Activity

Total releases
1
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0-beta4 Pre-release Oct 17, 2025