-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.toml
101 lines (90 loc) · 3.98 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
baseURL = "https://blog.forecho.com"
languageCode = "en-us"
title = "forecho's Blog"
theme = "echo"
DefaultContentLanguage = "cn"
# 自动检测是否包含中文/日文/韩文,该参数会影响摘要和字数统计功能,建议设置为 true
hasCJKLanguage = true
# 设置页面生成形式,将默认的网站路径/修改成.html
uglyURLs = true
googleAnalytics = "" # UA-XXXXXXXX-X
enableRobotsTXT = true
[markup.highlight]
codeFences = true # 高亮 markdown 的代码块
guessSyntax = true # 高亮 markdown 中没有标注语言的代码块
hl_Lines = ""
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
noClasses = true
style = "dracula"
tabWidth = 2
# https://gohugo.io/content-management/urls/#aliases
[permalinks]
posts = "/:filename"
[outputFormats.RSS]
mediatype = "application/rss"
baseName = "atom"
[services.rss]
limit = 20
[author]
name = "forecho"
avatar = "https://avatars0.githubusercontent.com/u/1725326?s=460&v=4"
bio = "把生命浪费在美好的事物上"
homepage = "https://forecho.com/"
[params]
htmlClass="dark"
favicon = "https://avatars0.githubusercontent.com/u/1725326?s=460&v=4"
keywords = "yii2, yii, 炒美股, 如何炒美股, 美股入金 php, ios, ruby, python, swift, web development"
description = "forecho, forecho blog, forecho 独立博客"
toc = true
navItems = [
["首页", "/"],
["文章归档", "/posts.html"],
["美股社区", "https://link.3li3.com/richcalls"],
["投资", "https://6url.net"],
["关于我", "/about.html"],
["联盟链接", "/friendship-links/"],
]
# rss 全文输出
rssFullContent = true
uglyURLs = true
busuanzi = true # 是否使用不蒜子统计站点访问量
staticCDNPrefix = "https://cdn.bootcss.com/font-awesome/5.11.2"
extraHead = '<meta name="impact-site-verification" value="ea00a48a-3cca-4b67-8b07-508ea50a1050"><meta name="google-site-verification" content="OMI81_SJiESxwq-Fr0CLleoF7EzVdRx7QTQlbAfCVdI" /><meta name="sogou_site_verification" content="5AsiT3lHig"/><meta name="baidu-site-verification" content="WuHyHeOJtJ" /><script async src="https://analytics.umami.is/script.js" data-website-id="22ae6477-c352-415f-8268-5f4ad12792a7"></script>'
postAds = '<div class="p-4 md:hidden rounded shadow bg-white dark:bg-gray-800"><img class=" object-cover w-auto mx-auto mt-6" loading="lazy" src="https://blog-1251237404.cos.ap-guangzhou.myqcloud.com/20190424153337.png" title="微信:ipzone" alt="微信:ipzone"></div>'
profileAds = '<div class="p-4 mt-2 lg:mt-4 rounded shadow bg-white dark:bg-gray-800"><img class=" object-cover w-auto mx-auto mt-6" loading="lazy" src="https://blog-1251237404.cos.ap-guangzhou.myqcloud.com/20190424153337.png" title="微信:ipzone" alt="微信:ipzone"></div>'
notFoundAds = ''
# 开启版权声明,协议名字和链接都可以换
[params.cc]
name = "署名-非商业性使用 4.0 国际 (CC BY-NC 4.0)"
link = "https://creativecommons.org/licenses/by-nc/4.0/deed.zh"
# 文章打赏
[params.reward]
enable = true
title = "打赏"
wechat = "https://blog-1251237404.cos.ap-guangzhou.myqcloud.com/20190424153510.png" # 微信二维码
alipay = "https://blog-1251237404.cos.ap-guangzhou.myqcloud.com/20190424153431.png" # 支付宝二维码
############ 评论系统 end ##############
## 社交链接
[social]
github = "forecho"
instagram = "forecho"
twitter = "caizhenghai"
douban = "ipzone"
rss = "/atom.xml"
# [params.utterances] # https://utteranc.es/
# owner = "forecho" # Your GitHub ID
# repo = "hugo-blog"# The repo to store comments
# theme = "github-light"
# issueterm = "title"
[params.giscus] # https://giscus.app
repo = "forecho/hugo-blog" # Repo where the comments will live
repo_id = "MDEwOlJlcG9zaXRvcnkyMzMwMzE1NDU" # Repo where the comments will live
category = "Announcements" # Repo where the comments will live
category_id = "DIC_kwDODePHec4COSbJ" # Repo where the comments will live
mapping = "title" # How Utterances will match comment to page
theme = "dark_dimmed" # What theme to use
reactions_enabled = 1 # Enable reactions
emit_metadata = 0 # Emit metadata
lang = "zh-CN" # Language