Skip to content

Commit ccce992

Browse files
committed
feat(v3): Add header metadata
1 parent cfb19e9 commit ccce992

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

astro.config.mjs

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,82 @@ export default defineConfig({
1919
replacesTitle: true,
2020
},
2121

22+
head: [
23+
{
24+
tag: "meta",
25+
attrs: { name: "msapplication-TileColor", content: "#000000" },
26+
},
27+
{ tag: "meta", attrs: { name: "theme-color", content: "#000000" } },
28+
{
29+
tag: "meta",
30+
attrs: {
31+
name: "viewport",
32+
content: "width=device-width, initial-scale=1.0",
33+
},
34+
},
35+
{
36+
tag: "meta",
37+
attrs: { "http-equiv": "Content-Language", content: "en" },
38+
},
39+
{
40+
tag: "meta",
41+
attrs: {
42+
name: "description",
43+
content:
44+
"Documentation of Start UI [web], an opinionated UI starter for React. From Bearstudio team",
45+
},
46+
},
47+
{
48+
tag: "meta",
49+
attrs: {
50+
name: "og:description",
51+
content:
52+
"Documentation of Start UI [web], an opinionated UI starter for React. From Bearstudio team",
53+
},
54+
},
55+
{
56+
tag: "meta",
57+
attrs: { name: "twitter:card", content: "summary_large_image" },
58+
},
59+
{
60+
tag: "meta",
61+
attrs: {
62+
name: "twitter:image",
63+
content:
64+
"https://github.com/BearStudio/start-ui-web/raw/master/assets/thumbnail.png",
65+
},
66+
},
67+
{
68+
tag: "meta",
69+
attrs: {
70+
name: "twitter:site:domain",
71+
content: "https://github.com/bearstudio/start-ui-web-doc",
72+
},
73+
},
74+
{
75+
tag: "meta",
76+
attrs: {
77+
name: "twitter:url",
78+
content: "https://github.com/bearstudio/start-ui-web-doc",
79+
},
80+
},
81+
{
82+
tag: "meta",
83+
attrs: { name: "og:title", content: "Start UI [web] documentation" },
84+
},
85+
{
86+
tag: "meta",
87+
attrs: {
88+
name: "og:image",
89+
content:
90+
"https://github.com/BearStudio/start-ui-web/raw/master/assets/thumbnail.png",
91+
},
92+
},
93+
{
94+
tag: "link",
95+
attrs: { rel: "icon", href: "/favicon-16x16.png", type: "image/png" },
96+
},
97+
],
2298
components: {
2399
SocialIcons: "./src/components/overrides/SocialIcons.astro",
24100
Footer: "./src/components/overrides/Footer.astro",

0 commit comments

Comments
 (0)