Skip to content

Commit

Permalink
update hugo.toml for:
Browse files Browse the repository at this point in the history
1. alignment
2. remove the "posts/" path from url
3. remove the language code from URL for default language zh
  • Loading branch information
bekcpear committed Nov 26, 2023
1 parent f541314 commit 183ab32
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
baseURL = 'https://rvspoc.org/'
languageCode = 'zh-CN'
title = 'RISC-V 软件移植及优化锦标赛'
theme = 'ananke'

defaultContentLanguage = 'zh'
defaultContentLanguageInSubdir = true
baseURL = 'https://rvspoc.org/'
languageCode = 'zh-CN'
title = 'RISC-V 软件移植及优化锦标赛'
theme = 'ananke'
paginate = 10
timeZone = "Asia/Shanghai"
pluralizeListTitles = false
defaultContentLanguage = 'zh'
defaultContentLanguageInSubdir = false


[permalinks]
[permalinks.page]
posts = '/:slug/'
[permalinks.section]
posts = '/posts/'

[languages]
[languages.zh]
Expand Down

0 comments on commit 183ab32

Please sign in to comment.