Skip to content

Commit 9d6ed27

Browse files
committed
Add favicons and twitter card meta tags
1 parent 9064672 commit 9d6ed27

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

docs/.vuepress/config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@ export default {
1717
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
1818
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
1919
})();
20-
`]],
20+
`],
21+
["link", { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicons/favicon-32.png" }],
22+
["link", { rel: "icon", type: "image/png", sizes: "128x128", href: "/favicons/favicon-128.png" }],
23+
["link", { rel: "icon", type: "image/png", sizes: "180x180", href: "/favicons/favicon-180.png" }],
24+
["link", { rel: "icon", type: "image/png", sizes: "192x192", href: "/favicons/favicon-192.png" }],
25+
["meta", { property: "og:site_name", content: "gbadev.net" }],
26+
["meta", { name: "twitter:card", content: "summary" }],
27+
["meta", { name: "twitter:site", content: "@gbdev0" }],
28+
["meta", { name: "og:image", content: "https://gbadev.net/images/logo.png" }],
29+
],
2130
plugins: ["@vuepress/plugin-palette", { preset: "scss" }],
2231
theme: defaultTheme({
2332
logo: "/images/logo.png",
Loading
15.6 KB
Loading
16.5 KB
Loading
1.66 KB
Loading

0 commit comments

Comments
 (0)