Val's Dreamscape Journal - initial
This commit is contained in:
90
hugo.toml
Normal file
90
hugo.toml
Normal file
@@ -0,0 +1,90 @@
|
||||
baseURL = 'https://val-dreamscape.github.io'
|
||||
languageCode = 'zh-CN'
|
||||
title = "Val's Dreamscape Journal"
|
||||
theme = "dreamscape"
|
||||
|
||||
[params]
|
||||
author = "Val"
|
||||
description = "记录多元宇宙的梦幻旅程——从真实世界的隐秘角落,到异世界的魔法大陆"
|
||||
keywords = ["旅行", "奇幻", "科幻", "博客", "探险"]
|
||||
|
||||
# 主题设置
|
||||
defaultTheme = "auto" # auto, light, dark
|
||||
disableThemeToggle = false
|
||||
|
||||
# 功能开关
|
||||
ShowReadingTime = true
|
||||
ShowPostNavLinks = true
|
||||
ShowBreadCrumbs = true
|
||||
ShowCodeCopyButtons = true
|
||||
ShowToc = true
|
||||
|
||||
# 搜索
|
||||
searchEnabled = true
|
||||
|
||||
# 社交链接
|
||||
[params.social]
|
||||
github = ""
|
||||
twitter = ""
|
||||
rss = true
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "home"
|
||||
name = "首页"
|
||||
url = "/"
|
||||
weight = 10
|
||||
[[menu.main]]
|
||||
identifier = "journey"
|
||||
name = "旅程"
|
||||
url = "/journey/"
|
||||
weight = 20
|
||||
[[menu.main]]
|
||||
identifier = "sketch"
|
||||
name = "速记"
|
||||
url = "/sketch/"
|
||||
weight = 30
|
||||
[[menu.main]]
|
||||
identifier = "gallery"
|
||||
name = "图志"
|
||||
url = "/gallery/"
|
||||
weight = 40
|
||||
[[menu.main]]
|
||||
identifier = "essay"
|
||||
name = "随笔"
|
||||
url = "/essay/"
|
||||
weight = 50
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "关于"
|
||||
url = "/about/"
|
||||
weight = 60
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
series = "series"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
section = ["HTML", "RSS"]
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.RSS]
|
||||
mediatype = "application/rss"
|
||||
baseName = "feed"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
[markup.highlight]
|
||||
style = "github"
|
||||
lineNos = true
|
||||
codeFences = true
|
||||
|
||||
[permalinks]
|
||||
journey = "/journey/:year/:slug/"
|
||||
sketch = "/sketch/:year/:slug/"
|
||||
gallery = "/gallery/:year/:slug/"
|
||||
essay = "/essay/:year/:slug/"
|
||||
Reference in New Issue
Block a user