48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
import type { DefaultTheme, LocaleSpecificConfig } from "vitepress";
|
|
|
|
export const META_URL = "https://www.easygoadmin.vip";
|
|
export const META_TITLE = "EasyGoAdmin";
|
|
export const META_DESCRIPTION = "Enterprise Admin Framework";
|
|
|
|
export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
description: META_DESCRIPTION,
|
|
head: [
|
|
["meta", { property: "og:url", content: META_URL }],
|
|
["meta", { property: "og:description", content: META_DESCRIPTION }],
|
|
["meta", { property: "twitter:url", content: META_URL }],
|
|
["meta", { property: "twitter:title", content: META_TITLE }],
|
|
["meta", { property: "twitter:description", content: META_DESCRIPTION }],
|
|
[
|
|
"script",
|
|
{},
|
|
`
|
|
var _hmt = _hmt || [];
|
|
(function() {
|
|
var hm = document.createElement("script");
|
|
hm.src = "https://hm.baidu.com/hm.js?f2662051bbed33ef4673edf8bfe609fe";
|
|
var s = document.getElementsByTagName("script")[0];
|
|
s.parentNode.insertBefore(hm, s);
|
|
})();
|
|
`,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
editLink: {
|
|
pattern: "https://gitee.com/easygoadmin/EasyGoAdmin_GoFrame_EleVue",
|
|
text: "Suggest changes to this page",
|
|
},
|
|
|
|
nav: [{ text: "Guide", link: "/en/introduction.html" }],
|
|
|
|
sidebar: {
|
|
"/en/": [
|
|
{
|
|
text: "Introduction",
|
|
items: [{ text: "About", link: "/en/introduction.html" }],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
};
|