hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

Web page title in browser tab #232

Open iansk opened 10 months ago

iansk commented 10 months ago

When going to a page in the site, the title in the browser tab initially flashes "Metadata", and then changes to the loaded article title. How can we clean this up? We don't want "Metadata" to flash as the initial page title.

Repro:

  1. Open a new browser tab.
  2. Enter this URL into the address bar: https://docs.prismacloud.io/en/enterprise-edition/rn/look-ahead-planned-updates-prisma-cloud/look-ahead-secure-the-runtime

Notice that the initial title in the browser tab is metadata:

franklin-uat-browser-tab-title

It then changes to "Look Ahead—Planned Updates to Secure the Runtime", which matches the actual page title.

franklin-uat-browser-tab-title2

The page source shows title is set to Metadata:

<html>
   <head>
      <title>Metadata</title>
.
.
.
Pubs-MV commented 10 months ago

Here is an example of how I see "Metadata" on Google when I search and in this case it is not the correct topic either.

image