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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user