Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

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)

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2025
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0-beta4 Pre-release 10–11 Oct 17, 2025