Updated for Discord compatibility.
This commit is contained in:
@@ -2,6 +2,7 @@ import { sidebarConfig, pageMetadata } from '../scripts/composer.js';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Pixel Services Docs',
|
title: 'Pixel Services Docs',
|
||||||
|
description: 'Documentation for all public Pixel Services projects.',
|
||||||
siteTitle: 'Documentation for all public Pixel Services projects.',
|
siteTitle: 'Documentation for all public Pixel Services projects.',
|
||||||
|
|
||||||
head: [
|
head: [
|
||||||
@@ -20,8 +21,13 @@ export default {
|
|||||||
|
|
||||||
pageData.frontmatter.head ??= [];
|
pageData.frontmatter.head ??= [];
|
||||||
pageData.frontmatter.head.push(
|
pageData.frontmatter.head.push(
|
||||||
['meta', { name: 'twitter:image', content: localImageUrl },],
|
['meta', { name: 'twitter:image', content: localImageUrl }],
|
||||||
['meta', { name: 'twitter:image:src', content: absoluteImageUrl },]
|
['meta', { name: 'twitter:image:src', content: absoluteImageUrl }],
|
||||||
|
['meta', { name: 'twitter:image:alt', content: pageData.title }],
|
||||||
|
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
|
||||||
|
['meta', { name: 'twitter:image:height', content: 1280 }],
|
||||||
|
['meta', { name: 'twitter:image:width', content: 669 }],
|
||||||
|
['meta', { name: 'twitter:description', content: '' }] // Empty description
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user