Admin metatag configuration
Modified page header

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)

Supporting organizations: 
Supporting development by providing human resources

Project information

Releases