From 30044072843eea41a631f15ed79f757774224dae Mon Sep 17 00:00:00 2001 From: Seven Date: Wed, 1 Jan 2025 16:35:59 +0800 Subject: [PATCH] =?UTF-8?q?[=C2=B1]=20Fixed=20configuration=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/jsconfig.json | 10 ---------- config/_default/config.yaml | 6 +++--- config/_default/permalinks.yaml | 3 ++- 3 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 assets/jsconfig.json diff --git a/assets/jsconfig.json b/assets/jsconfig.json deleted file mode 100644 index d0d7a6e..0000000 --- a/assets/jsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "*": [ - "../themes/hugo-theme-stack/assets/*" - ] - } - } -} \ No newline at end of file diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 19de6eb..969f607 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -1,9 +1,9 @@ baseURL: https://blog.sunyz.dev/ -languageCode: "en-us" -title: "Seven's Blog" +languageCode: en-us +title: Seven\'s Blog theme: hugo-theme-stack -defaultContentLanguage: "en" +defaultContentLanguage: en defaultContentLanguageInSubdir: true services: diff --git a/config/_default/permalinks.yaml b/config/_default/permalinks.yaml index bb3ba0e..76bfdef 100644 --- a/config/_default/permalinks.yaml +++ b/config/_default/permalinks.yaml @@ -1 +1,2 @@ -post: /p/:slug/ \ No newline at end of file +post: /p/:slug/ +page: /:slug/ \ No newline at end of file