mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
Initialize vitepress
This commit is contained in:
parent
3cdf54cb89
commit
cd7ee89bf9
11 changed files with 1145 additions and 42 deletions
18
.vitepress/shared.mts
Normal file
18
.vitepress/shared.mts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { defineConfig } from "vitepress";
|
||||
|
||||
export const sharedConfig = defineConfig({
|
||||
lang: "en-US",
|
||||
lastUpdated: true,
|
||||
cleanUrls: true,
|
||||
appearance: "dark",
|
||||
head: [
|
||||
["meta", { name: "theme-color", content: "#7bc5e4" }],
|
||||
["meta", { name: "og:type", content: "website" }],
|
||||
["meta", { name: "og:locale", content: "en" }],
|
||||
],
|
||||
themeConfig: {
|
||||
search: {
|
||||
provider: "local",
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue