-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
162 lines (147 loc) · 6.21 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
baseURL = 'https://lopins.github.io/hugo-template'
title = '装配师'
theme = 'huishou'
# 常规设置
# defaultContentLanguageInSubdir = false # 在子目录中呈现默认内容语言,例如content/en/。然后站点根目录/将重定向到/en/。默认为false
enableRobotsTXT = true
enableEmoji = true
languageCode = 'zh-cn' # en / zh-cn
defaultContentLanguage = "zh-cn" # en / zh-cn 没有语言指示的内容将默认使用此语言。默认值为en。
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
uglyURLs = true # Use the .html suffix
canonifyURLs = true # 转换链接为绝对链接,<a href="/about"> → <a href="https://example.org/about/">
# relativeURLs = true # 转换链接为相对链接,<a href="/about"> → <a href="../../about">
# 忽略一些构建错误
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
# 跳过渲染 ["page", "home", "section", "taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404"]
disableKinds = ["section", "RSS"]
[taxonomies]
tag = "tags"
category = "categories"
[outputFormats]
[outputFormats.SearchIndex]
isPlainText = true
notAlternative = true
mediaType = "application/json"
path = "/search/"
[outputs]
home = [ "HTML", "JSON", "SearchIndex", "Sitemap" ] # 首页
page = [ "HTML" ] # 单个页面(通常是静态页面,如关于页面、联系页面等,可以理解为文章详情页和一些指定页面)
section = [ "HTML" ] # 部分(section),例如博客部分、文档部分等(可以理解为一类文章的归档的页面)。
taxonomy = [ "HTML" ] # 分类和标签的列表页面(可以理解为分类、标签的归档页,就是列出所有分类、标签的聚合页面)
term = [ "HTML" ] # 具体的分类或标签页面(分类、标签等文章列表页,列出属于某个分类、标签下文章列表的页面)
[permalinks]
post = "posts/:slug"
page = ":slug"
tags = "tags/:slug"
categories = "categories/:slug"
# Markdown渲染
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = false
[markup.goldmark.parser]
attribute = true
autoHeadingID = true
autoHeadingIDType = "github"
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xHTML = false
[markup.highlight]
codeFences = true
guessSyntax = false
lineNos = false
lineNumbersInTable = false
noClasses = false
[markup.tableOfContents]
startLevel = 2
endLevel = 6
ordered = true
[menu]
[[menu.main]]
identifier = "home"
name = "首页"
url = "/"
weight = 1
[[menu.main]]
identifier = "product"
name = "产品中心"
url = "/product.html"
weight = 2
[[menu.main]]
identifier = "case"
name = "案例展示"
url = "/case.html"
weight = 3
[[menu.main]]
identifier = "esg"
name = "ESG理念"
url = "/esg.html"
weight = 4
[[menu.main]]
identifier = "news"
name = "行业资讯"
url = "/news.html"
weight = 5
[[menu.main]]
identifier = "about"
name = "关于我们"
url = "/about.html"
weight = 6
[[menu.main]]
identifier = "kefu"
name = "联系我们"
url = "/kefu.html"
weight = 7
# ####################### 自定义变量 ####################### #
# 自定义变量
# {{ .Site.Params.xxxx.xxxx }}
[params]
title = '企业办公家具采购-二手办公家具出售-二手办公家具租赁回收'
keywords = '二手办公家具,二手办公家具出售,二手办公家具租赁,二手办公家具租赁,二手办公家具回收,二手办公桌椅,二手办公桌,二手办公椅,二手工位,二手文件柜,二手班台,二手沙发茶几'
description = '装配狮主营二手办公家具销售租赁回收及仓储寄存业务,涵盖了二手办公桌,二手办公椅,二手工位,二手班台,二手文件柜,二手沙发茶几等多种二手家具。'
fastSearch = true # 是否开启本地搜索
PagerSize = 10 # 分页设置
# summaryLength = 300 # 摘要字数
# copyright = '' # 站点版权信息
# 作者信息 profile:简介信息
[params.author]
name = "lopins"
link = "https://www.lopins.cn"
email = "[email protected]"
profile = ""
# 公司信息
# {{ .Site.Params.company.Tel }}
[params.company]
Tel = '185-1668-7118'
Name = '佳匠实业'
Description = ''
Slogan = ''
Address = '上海市松江区石湖荡镇石湖新路95号'
Start = '2018'
Icp = '沪ICP备2021004498号'
Kefu = 'https://affim.baidu.com/unique_44585358/chat?siteId=18630889&userId=44585358&siteToken=566b31777728579c3005d1e6318bdbae'
Weixin = 'https://u.wechat.com/EKP6dBfMFC_Cv38uRfdXgGQ?s=2'
Weibo = 'https://u.wechat.com/EKP6dBfMFC_Cv38uRfdXgGQ?s=2'
Douyin = 'https://u.wechat.com/EKP6dBfMFC_Cv38uRfdXgGQ?s=2'
# 友情链接
# {{ range .Site.Params.friendLinks }}<a href="{{ .url }}" target="_blank" rel="noopener">{{ .name }}</a><span>{{ .description }}</span>{{ end }}
[params.friendlinks]
hugo = { name = "Hugo 官方文档", url = "https://gohugo.io/", description = "Hugo 的官方文档" }
github = { name = "GitHub", url = "https://github.com/", description = "代码托管平台" }
stackoverflow = { name = "Stack Overflow", url = "https://stackoverflow.com/", description = "编程问答社区" }
[params.build]
noJSConfigInAssets = true
[params.security]
enableInlineShortcodes = true
[params.services]
[params.services.googleAnalytics]
ID = 'G-XXXXXXXXX'