mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Set og:title name for overriding
This commit is contained in:
parent
2ed1c44440
commit
cd61f741a7
@ -9,7 +9,7 @@ export default function UseCaseLayout({ title, description, children }) {
|
||||
return (
|
||||
<>
|
||||
<HashiHead is={Head} title={pageTitle} description={description}>
|
||||
<meta property="og:title" content={pageTitle} />
|
||||
<meta name="og:title" property="og:title" content={pageTitle} />
|
||||
</HashiHead>
|
||||
|
||||
<div id="p-use-case">
|
||||
|
@ -82,7 +82,11 @@ class NextApp extends App {
|
||||
{ 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>
|
||||
{ALERT_BANNER_ACTIVE && (
|
||||
<AlertBanner {...alertBannerData} theme="consul" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user