|
1 | 1 | import { defineConfig } from "vitepress";
|
| 2 | +import { name, description, ogUrl, ogImage } from "./meta"; |
2 | 3 |
|
3 | 4 | export default defineConfig({
|
4 | 5 | title: "feathers-hooks-common",
|
5 | 6 | lastUpdated: true,
|
6 | 7 | description: "",
|
7 |
| - head: [["link", { rel: "icon", href: "/feathers-hooks-common-logo.png" }]], |
| 8 | + head: [ |
| 9 | + ["meta", { name: "theme-color", content: "#ae0bb1" }], |
| 10 | + ["link", { rel: "icon", href: "/feathers-hooks-common-logo.png" }], |
| 11 | + ["meta", { property: "og:title", content: name }], |
| 12 | + ["meta", { property: "og:description", content: description }], |
| 13 | + ["meta", { property: "og:url", content: ogUrl }], |
| 14 | + ["meta", { property: "og:image", content: ogImage }], |
| 15 | + ["meta", { name: "twitter:title", content: name }], |
| 16 | + ["meta", { name: "twitter:description", content: description }], |
| 17 | + ["meta", { name: "twitter:image", content: ogImage }], |
| 18 | + ["meta", { name: "twitter:card", content: "summary_large_image" }], |
| 19 | + ], |
8 | 20 | themeConfig: {
|
9 | 21 | siteTitle: "feathers-hooks-common",
|
10 | 22 | editLink: {
|
|
0 commit comments