use hugo mod
This commit is contained in:
56
hugo.toml
56
hugo.toml
@@ -3,5 +3,59 @@ languageCode = 'zh-cn'
|
||||
# languageCode = 'en-us'
|
||||
title = '启飞'
|
||||
# theme = 'hugo-theme-stack'
|
||||
theme = 'ananke'
|
||||
# theme = 'ananke'
|
||||
# theme = 'hugo-theme-stack'
|
||||
|
||||
# [module]
|
||||
# [[module.imports]]
|
||||
# disable = false
|
||||
# ignoreConfig = false
|
||||
# ignoreImports = false
|
||||
# path = 'github.com/theNewDynamic/gohugo-theme-ananke/v2'
|
||||
|
||||
|
||||
[module]
|
||||
[[module.imports]]
|
||||
path = 'github.com/tom2almighty/hugo-narrow'
|
||||
|
||||
|
||||
# 时区设置
|
||||
timeZone = 'Asia/Shanghai' # 时区设置
|
||||
|
||||
|
||||
# 分类法配置(无需修改)
|
||||
[taxonomies]
|
||||
category = 'categories'
|
||||
tag = 'tags'
|
||||
|
||||
|
||||
[menus]
|
||||
[[menus.main]]
|
||||
name = 'Home'
|
||||
pageRef = '/'
|
||||
weight = 10
|
||||
[menus.main.params]
|
||||
icon = 'home'
|
||||
[[menus.main]]
|
||||
pageRef = '/posts'
|
||||
weight = 20
|
||||
[menus.main.params]
|
||||
icon = 'posts'
|
||||
[[menus.main]]
|
||||
name = 'Categories'
|
||||
pageRef = '/categories'
|
||||
weight = 30
|
||||
[menus.main.params]
|
||||
icon = 'categories'
|
||||
[[menus.main]]
|
||||
name = 'Tags'
|
||||
pageRef = '/tags'
|
||||
weight = 40
|
||||
[menus.main.params]
|
||||
icon = 'tags'
|
||||
[[menus.main]]
|
||||
name = 'About'
|
||||
pageRef = '/about'
|
||||
weight = 50
|
||||
[menus.main.params]
|
||||
icon = 'about'
|
Reference in New Issue
Block a user