Skip to content

Commit 6961f9e

Browse files
author
Noah Lee
authored
Add additional metadata for Facebook and Twitter (#25)
* Fix open graph metadata * Add metadatas for twitter
1 parent b97a8bf commit 6961f9e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docusaurus.config.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
88
const config = {
99
title: 'Gitploy',
1010
tagline: 'Builds your deployment system around GitHub.',
11-
url: 'https://www.gitploy.io/',
11+
url: 'https://www.gitploy.io',
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
@@ -60,8 +60,19 @@ const config = {
6060
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
6161
({
6262
metadata: [
63-
{name: 'og:image', content: '/img/logo.svg'},
64-
{name: 'keywords', content: 'github, github deployment api, github environment, deploy, continuous deployment, continuous delivery, cicd'}
63+
// General
64+
{name: 'description', content: 'Build the deployment system around GitHub.'},
65+
{name: 'keywords', content: 'github, github deployment api, github environment, deploy, continuous deployment, continuous delivery, cicd'},
66+
// Facebook
67+
{property: 'og:type', content: 'website'},
68+
{property: 'og:description', content: 'Build the deployment system around GitHub.'},
69+
{property: 'og:image', content: 'https://www.gitploy.io/img/logo_400.png'},
70+
// Twitter
71+
{property: 'twitter:domain', content: 'gitploy.io'},
72+
{property: 'twitter:url', content: 'https://www.gitploy.io/'},
73+
{name: 'twitter:title', content: 'Gitploy'},
74+
{name: 'twitter:description', content: 'Build the deployment system around GitHub.'},
75+
{name: 'twitter:image', content: 'https://www.gitploy.io/img/logo_400.png'},
6576
],
6677
navbar: {
6778
title: 'Gitploy',

0 commit comments

Comments
 (0)