1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-08 08:44:15 +08:00

feat: add rewrite rule for posts index and move main index to posts

This commit is contained in:
2026-03-08 00:45:09 +08:00
parent c856ce009d
commit 8795c219ac
2 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ import { anchor } from "./theme/utils/mdCustomAnchor";
export default defineConfig({
base: "/",
cleanUrls: true,
rewrites: {
"posts/index.md": "index.md",
},
lang: "zh_CN",
title: "sendevia 的小站",
titleTemplate: ":title",