aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllie <13716824+ChildishGiant@users.noreply.github.com>2022-04-07 02:30:37 +0100
committerGitHub <noreply@github.com>2022-04-07 09:30:37 +0800
commitd48b2856191f8c1efbe89f1a4000753575253b54 (patch)
treea9c7aa570cbcb89e3f67521be823c93f44930952
parent9af15048c75e845d9f6f647a3ebe2f538fac995c (diff)
downloadyuescript-d48b2856191f8c1efbe89f1a4000753575253b54.tar.gz
yuescript-d48b2856191f8c1efbe89f1a4000753575253b54.tar.bz2
yuescript-d48b2856191f8c1efbe89f1a4000753575253b54.zip
add OpenGraph data (#87)
-rwxr-xr-xdoc/docs/.vuepress/config.js9
-rw-r--r--doc/docs/.vuepress/public/image/yuescript.pngbin0 -> 67752 bytes
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/docs/.vuepress/config.js b/doc/docs/.vuepress/config.js
index fe34c46..b3f7313 100755
--- a/doc/docs/.vuepress/config.js
+++ b/doc/docs/.vuepress/config.js
@@ -19,6 +19,15 @@ module.exports = {
19 ['meta', { name: 'theme-color', content: '#3eaf7c' }], 19 ['meta', { name: 'theme-color', content: '#3eaf7c' }],
20 ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], 20 ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
21 ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }], 21 ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
22 ['meta', { property: 'og:title', content: 'Yuescript' }],
23 ['meta', { property: 'og:description', content: description }],
24 // Should probably have a og:url but I'm not sure how to add that without it being the same on all pages
25 ['meta', { property: 'og:type', content: 'website' }],
26 ['meta', { property: 'og:image', content: 'https://yuescript.org/image/yuescript.png' }],
27 ['meta', { property: 'og:image:secure_url', content: 'https://yuescript.org/image/yuescript.png' }],
28 ['meta', { property: 'og:image:type', content: 'image/png' }],
29 ['meta', { property: 'og:image:width', content: '1200' }],
30 ['meta', { property: 'og:image:height', content: '1200' }],
22 ['script', {}, `window.global = window;`], 31 ['script', {}, `window.global = window;`],
23 ['script', {}, ` 32 ['script', {}, `
24 var Module = { 33 var Module = {
diff --git a/doc/docs/.vuepress/public/image/yuescript.png b/doc/docs/.vuepress/public/image/yuescript.png
new file mode 100644
index 0000000..7d9b896
--- /dev/null
+++ b/doc/docs/.vuepress/public/image/yuescript.png
Binary files differ