diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 5cb7c745..b165cd19 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -7,6 +7,7 @@ export default defineConfig({ title: "Project X", description: "Xray-core", head: [["link", { rel: "icon", href: "/logo.png" }]], + lastUpdated: true, themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ @@ -289,6 +290,14 @@ export default defineConfig({ text: "帮助我们改善此页面!", }, + lastUpdated: { + text: "最近更改", + formatOptions: { + dateStyle: "short", + timeStyle: "short", + }, + }, + footer: { message: "根据 CC-BY-SA 4.0 许可协议授权", copyright: "版权所有 © 2020-至今 Project X 社区", @@ -645,6 +654,14 @@ export default defineConfig({ text: "Help us improve this page on GitHub!", }, + lastUpdated: { + text: "Last Updated", + formatOptions: { + dateStyle: "short", + timeStyle: "short", + }, + }, + footer: { message: "Licensed under CC-BY-SA 4.0", copyright: "Copyright © 2020-Present Project X Community", @@ -1010,6 +1027,14 @@ export default defineConfig({ text: "Помогите нам улучшить эту страницу!", }, + lastUpdated: { + text: "Последние изменения", + formatOptions: { + dateStyle: "short", + timeStyle: "short", + }, + }, + footer: { message: "Лицензия CC-BY-SA 4.0", copyright: