neo4j-documentation / docs-ui

Mozilla Public License 2.0
4 stars 23 forks source link

Remove component title from meta title if page-ogtitle is specified #107

Closed recrwplay closed 2 years ago

recrwplay commented 2 years ago

When :page-ogtitle: is specified in the document header, we want to use that value as-is for the meta tag.

This update prevents - <COMPONENT_TITLE> from being appended to the meta tag when :page-ogtitle: is specified.

To verify, check that the meta tag for /tables does not have - Project XYZ added:

<meta property="og:title" content="This page uses the page-ogtitle attribute to generate a custom title for SEO meta">

netlify[bot] commented 2 years ago

Deploy Preview for neo4j-docs-ui ready!

Name Link
Latest commit 48a0f9fcace84229d5ef0965907e103defd593f2
Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/626a9af72a450400087e1ace
Deploy Preview https://deploy-preview-107--neo4j-docs-ui.netlify.app/tables
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.