mirror of https://github.com/hashicorp/consul
Set og:title name for overriding
parent
2ed1c44440
commit
cd61f741a7
|
@ -9,7 +9,7 @@ export default function UseCaseLayout({ title, description, children }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<HashiHead is={Head} title={pageTitle} description={description}>
|
<HashiHead is={Head} title={pageTitle} description={description}>
|
||||||
<meta property="og:title" content={pageTitle} />
|
<meta name="og:title" property="og:title" content={pageTitle} />
|
||||||
</HashiHead>
|
</HashiHead>
|
||||||
|
|
||||||
<div id="p-use-case">
|
<div id="p-use-case">
|
||||||
|
|
|
@ -82,7 +82,11 @@ class NextApp extends App {
|
||||||
{ href: '/fonts/dejavu/mono.woff2', as: 'font' },
|
{ href: '/fonts/dejavu/mono.woff2', as: 'font' },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<meta property="og:title" content="Consul by HashiCorp" />
|
<meta
|
||||||
|
name="og:title"
|
||||||
|
property="og:title"
|
||||||
|
content="Consul by HashiCorp"
|
||||||
|
/>
|
||||||
</HashiHead>
|
</HashiHead>
|
||||||
{ALERT_BANNER_ACTIVE && (
|
{ALERT_BANNER_ACTIVE && (
|
||||||
<AlertBanner {...alertBannerData} theme="consul" />
|
<AlertBanner {...alertBannerData} theme="consul" />
|
||||||
|
|
Loading…
Reference in New Issue