-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
156 lines (129 loc) · 4.6 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
baseurl = "http://www.helight.cn"
title = "黑光技术"
subtitle = "完美之道,不在无可增加,而在无可删减。"
theme = "hugo-universal-theme"
# theme = "universal-theme"
themesDir = "./themes/"
languageCode = "zh"
hasCJKLanguage = true
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "zh"
pygmentsUseClasses = false
pygmentCodeFences = true
[Permalinks]
# blog = "/blog/:year/:month/:day/:filename/"
blog = "/blog/:year/:filename/"
# support html in markdown
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
# Define the number of posts per page
paginate = 15
[menu]
# Main menu
[[menu.main]]
identifier="home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
identifier="blog"
name = "Blog"
url = "/blog/"
weight = 2
[[menu.main]]
identifier = "projects"
name = "Projects"
url = "/about/projects/"
weight = 3
[[menu.main]]
identifier = "aboutme"
name = "AboutMe"
url = "/about/me"
weight = 4
[[menu.main]]
identifier = "github"
name = "Github"
url = "https://github.com/helight"
weight = 5
[params]
viewMorePostLink = "/blog/"
author = "helight"
defaultKeywords = ["helight", "微服务", "kernel", "DevOps", "go"]
mainSections = ["blog"]
defaultDescription = "完美之道,不在无可增加,而在无可删减。"
subtitle = "完美之道,不在无可增加,而在无可删减。"
logo = "img/helight.png"
logo_small = "img/helight.png"
# Social media
facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE')
twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@')
default_sharing_image = "img/sharing-default.png"
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "blue"
# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
# email. Visitors can send up to a 1000 emails each month for free.
#
# What you need to do for the setup?
#
# - set your email address under 'email' below
# - upload the generated site to your server
# - send a dummy email yourself to confirm your account
# - click the confirm link in the email from www.formspree.io
# - you're done. Happy mailing!
#
# Enable the contact form by entering your Formspree.io email
email = "[email protected]"
contact_form_ajax = false
about_us = "<img src=/img/site/cf.png>"
copyright = "Copyright (c) 2007 - 2024, helight; all rights reserved.【 <a href='https://beian.miit.gov.cn/' target='_blank'>粤ICP备15029944号</a> 】 "
# Format dates with Go's time formatting
date_format = "2006年1月2日"
# avatar used for thumbnail on sharing
avatar = "/img/helight.png"
address = "<img src=/img/site/wx.jpg>"
# 是否开启评论功能
gitalk = true
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = true
search = false
links = true
[params.carousel]
enable = true
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.
[params.features]
enable = false
# All features are defined in their own files. You can find example items
# at 'exampleSite/data/features'.
# For more informtion take a look at the README.
[params.testimonials]
enable = false
# All testimonials are defined in their own files. You can find example items
# at 'exampleSite/data/testimonials'.
# For more informtion take a look at the README.
title = "Testimonials"
subtitle = "We have worked with many clients and we always like to hear they come out from the cooperation happy and satisfied. Have a look what our clients said about us."
[params.see_more]
enable = false
icon = "far fa-file-alt"
title = "Do you want to see more?"
subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage."
link_url = "#"
link_text = "Check other homepages"
[params.clients]
enable = false
# All clients are defined in their own files. You can find example items
# at 'exampleSite/data/clients'.
# For more informtion take a look at the README.
title = "Our Clients"
subtitle = ""
[params.recent_posts]
enable = true
title = "最新博文"
subtitle = ""