-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
46 lines (39 loc) · 2.28 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
baseURL = "https://nav.h2o-2.org"
languageCode = "zh-CN"
title = "H2O2 导航站"
theme = "WebStack-Hugo"
preserveTaxonomyNames = true
disablePathToLower = true
hasCJKLanguage = true
publishDir = "public" # 站点静态文件保存目录
[params]
author = "H2O2 Team"
description = "H2O2 导航站"
upload = "https://h2o-2.org/comment" # 左侧导航栏的"网站提交"
about = "https://shumlab.com/cookbook/webstack-hugo" # 左侧导航栏的"关于导航"页面(./about)
repository = "https://github.com/shenweiyan/WebStack-Hugo"
enablePreLoad = true # 网站完全打开前预加载动画
textPreLoad = "H2O2 导航站" # 预加载的动画文字, 只有当enablePreLoad=true时生效
expandSidebar = false # 默认展开左侧边导航栏
logosPath = "assets/images/logos" # 网站每个导航地址logo存放地址
defaultLogo = "assets/images/logos/default.webp" # logo图片资源不存在或者错误时, 默认显示的logo; 该参数如为空,将会一直加载对应的logo,直至成功
nightMode = false # 默认站点为深色(夜间)模式
yiyan = true # 默认启用一言服务
[params.seo]
baiduhmid = 'efccc04cb44fc49faddac5876180b369' # 百度统计 hm.src 的 ID
baiduSiteVer = 'codeva-cCAOSG8MBO' # 百度HTML标签验证(baidu-site-verification)
GoogleAdsClient = '' # Google AdSense
[params.qweather]
key = "085791e805a24491b43b06cf58ab31e7"
[params.images]
favicon = "assets/images/favicon.webp"
searchImageL = "assets/images/1.webp" # 搜索部分浅色背景图
searchImageD = "assets/images/1.webp" # 搜索部分深色背景图
logoExpandLight = "assets/images/H2O2-expand-light.webp"
logoExpandDark = "assets/images/H2O2-expand-dark.webp"
logoCollapseLight = "assets/images/favicon.webp"
logoCollapseDark = "assets/images/favicon.webp"
[markup.goldmark.renderer]
unsafe = true
[params.footer]
copyright = '本站部分内容源自互联网,如有内容侵犯了你的权益,请联系删除相关内容,联系邮箱:H2O2-Team@h2o-2.org <br/>© 2021 - {year}<br/>'