]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add og:image (#8635)
author38elements <38elements@users.noreply.github.com>
Sun, 14 Mar 2021 15:08:12 +0000 (00:08 +0900)
committerGitHub <noreply@github.com>
Sun, 14 Mar 2021 15:08:12 +0000 (11:08 -0400)
docs/docusaurus.config.js
docs/static/img/logo.png [new file with mode: 0644]

index c7472de5a2f4487760e4488c0905d0eaf09898ed..489757b25ef17faa855a6430b4832d3ca74d5884 100644 (file)
@@ -11,6 +11,8 @@ module.exports = {
   themes: ['@docusaurus/theme-live-codeblock'],
   onBrokenLinks: 'warn',
   themeConfig: {
+    image: 'img/logo.png',
+    metadatas: [{name: 'twitter:card', content: 'summary'}],
     algolia: {
       apiKey: 'd7ee00a3cbaaf3c33e28ad1c274e7ba6',
       indexName: 'chartjs',
diff --git a/docs/static/img/logo.png b/docs/static/img/logo.png
new file mode 100644 (file)
index 0000000..f6639e1
Binary files /dev/null and b/docs/static/img/logo.png differ