Skip to content

Commit 7878928

Browse files
Add Opengraph headtags.
1 parent a1eb04c commit 7878928

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

docusaurus.config.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ const config: Config = {
7373
//image: 'img/docusaurus-social-card.jpg',
7474
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7575
headTags: [
76-
7776
{
7877
tagName: 'link',
7978
attributes: {
@@ -83,6 +82,24 @@ const config: Config = {
8382
href: '/atom.xml',
8483
},
8584
},
85+
{ tagName: 'meta',
86+
attributes: {
87+
property: 'og:title',
88+
content: 'QuantStack',
89+
},
90+
},
91+
{ tagName: 'meta',
92+
attributes: {
93+
property: 'og:image',
94+
content: 'img/quantstack/astronaut.svg',
95+
},
96+
},
97+
{ tagName: 'meta',
98+
attributes: {
99+
property: 'og:description',
100+
content: 'QuantStack is a team of developers involved in major open-source projects of the scientific computing ecosystem.',
101+
},
102+
},
86103
],
87104
navbar: {
88105
title: "",
@@ -126,7 +143,7 @@ const config: Config = {
126143
to: "/fundable/",
127144
label: "Fundable projects",
128145
position: "right",
129-
className:"fundable_projects"
146+
className: "fundable_projects"
130147
},
131148
{
132149
to: "/contact/",

0 commit comments

Comments
 (0)