Commit 43a7d7a7 authored by Nitin Jadhav's avatar Nitin Jadhav
Browse files

Merge branch 'feature/social-meta-tags' into 'master'

Added rotots meta tag

See merge request !62
parents e7916e2a b980db9a
Pipeline #180253 passed with stages
in 3 minutes and 15 seconds
......@@ -47,7 +47,7 @@
/>
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#ffffff" />
<meta name="robots" content="index, follow" />
<!-- social share -->
<!-- Primary Meta Tags -->
......@@ -62,10 +62,10 @@
<meta name="image" property="og:image" content="https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/20210426_EMBL_Jobs_3000x1000-scaled.jpg?width=800">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="EMBL Jobs">
<meta property="twitter:description" content="We offer a wide range of challenging scientific and non-scientific positions at all of our European locations and encourage applications from international candidates at all career levels.">
<meta property="twitter:image" content="https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/20210426_EMBL_Jobs_3000x1000-scaled.jpg?width=800">
<meta name="twitter:card" property="twitter:card" content="summary_large_image">
<meta name="twitter:title" property="twitter:title" content="EMBL Jobs">
<meta name="twitter:description" property="twitter:description" content="We offer a wide range of challenging scientific and non-scientific positions at all of our European locations and encourage applications from international candidates at all career levels.">
<meta name="twitter:image" property="twitter:image" content="https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/20210426_EMBL_Jobs_3000x1000-scaled.jpg?width=800">
</head>
<body class="vf-body vf-stack vf-stack--400">
......
......@@ -37,14 +37,16 @@ export function Metadata({ metadata = {}, page = {} }) {
{/* <!-- Descriptive meta --> */}
<meta name="title" content={site_information.title} />
<meta name="author" content={meta.author || "EMBL"} />
<meta name="robots" content="index, follow" />
<meta name="keywords" content={meta.keywords} />
<meta name="description" content={meta.description} />
{/* <!-- Open Graph / Facebook --> */}
<meta name="og:type" content="website" />
<meta name="og:url" content={`https://embl.org/jobs${page.url || ""}`} />
<meta name="og:title" content={site_information.title} />
<meta name="og:description" content={meta.description} />
<meta property="og:type" content="website" />
<meta
property="og:url"
content={`https://embl.org/jobs${page.url || ""}`}
/>
<meta property="og:title" content={site_information.title} />
<meta property="og:description" content={meta.description} />
{meta.image && <meta name="og:image" content={meta.image} />}
{/* <!-- Twitter --> */}
<meta name="twitter:card" content="summary_large_image" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment