Skip to content

Commit 86af1b6

Browse files
committed
added meta tags to documentation pages
1 parent b9a4961 commit 86af1b6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/.vuepress/config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
const socialMeta = {
2+
title: 'Neos Backups',
3+
description: 'Easy backup management plugin for Neos CMS',
4+
image: 'https://repository-images.githubusercontent.com/235191200/234dfe80-4129-11ea-9f1d-a938b96ec553',
5+
url: 'https://breadlesscode.github.io/neos-backups'
6+
};
7+
18
module.exports = {
29
title: 'Neos Backups',
310
base: process.env.NODE_ENV === 'production'? '/neos-backups/': '/',
11+
head: [
12+
['meta', {property: 'og:title', content: socialMeta.title}],
13+
['meta', {property: 'og:description', content: socialMeta.description}],
14+
['meta', {property: 'og:image', content: socialMeta.image}],
15+
['meta', {property: 'og:url', content: socialMeta.url}],
16+
['meta', {property: 'twitter:title', content: socialMeta.title}],
17+
['meta', {property: 'twitter:description', content: socialMeta.description}],
18+
['meta', {property: 'twitter:image', content: socialMeta.image}],
19+
['meta', {property: 'twitter:card', content: 'summary_large_image'}],
20+
],
421
themeConfig: {
522
nav: [
623
{text: 'Github', link: 'https://github.com/breadlesscode/neos-backups'}

0 commit comments

Comments
 (0)