-
Notifications
You must be signed in to change notification settings - Fork 430
/
config.toml
120 lines (90 loc) · 3 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
baseURL = "https://eddycjy.com"
languageCode = "zh-hans"
defaultContentLanguage = "en"
title = "煎鱼"
theme = "hermit"
# enableGitInfo = true
pygmentsCodefences = true
pygmentsUseClasses = true
# hasCJKLanguage = true # If Chinese/Japanese/Korean is your main content language, enable this to make wordCount works right.
rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/
googleAnalytics = "UA-166045776-1"
# disqusShortname = "yourdiscussshortname"
summarylength = 30
[author]
name = "煎鱼"
[blackfriday]
# hrefTargetBlank = true
# noreferrerLinks = true
# nofollowLinks = true
[taxonomies]
tag = "tags"
# Categories are disabled by default.
[params]
since = "2018"
toc = true
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
# Metadata mostly used in document's head
description = "煎鱼,博客,go,golang,源码分析,系列教程"
# images = [""]
themeColor = "#494f5c"
mainSections = ["posts"]
homeSubtitle = "Metrics, Tracing, Logging"
footerCopyright = ' · <a href="http://www.beian.miit.gov.cn/">粤ICP备19076352号</a>'
# bgImg = "" # Homepage background-image URL
# Prefix of link to the git commit detail page. GitInfo must be enabled.
gitUrl = "https://github.com/eddycjy/blog/commit/"
# Toggling this option needs to rebuild SCSS, requires Hugo extended version
justifyContent = false # Set "text-align: justify" to `.content`.
relatedPosts = false # Add a related content section to all single posts page
code_copy_button = true # Turn on/off the code-copy-button for code-fields
# Add custom css
# customCSS = ["css/foo.css", "css/bar.css"]
customCSS = ["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css", "css/styles.css"]
# Social Icons
# Check https://github.com/Track3/hermit#social-icons for more info.
[[params.social]]
name = "github"
url = "https://github.com/eddycjy"
[menu]
[[menu.main]]
name = "文章"
url = "posts/"
weight = 10
[[menu.main]]
name = "标签"
url = "tags/"
weight = 10
[[menu.main]]
name = "关于"
url = "about/"
weight = 20
[[menu.nav]]
name = "文章"
url = "posts/"
weight = 10
[[menu.nav]]
name = "Go语言编程之旅"
url = "https://golang2.eddycjy.com/"
weight = 11
[[menu.nav]]
name = "Go语言进阶之旅"
url = "https://golang1.eddycjy.com/"
weight = 11
[[menu.nav]]
name = "Go语言设计哲学"
url = "https://golang3.eddycjy.com/"
weight = 11
[[menu.nav]]
name = "Go语言入门系列"
url = "go-categories/"
weight = 12
[[menu.nav]]
name = "Kubernetes系列"
url = "k8s-categories/"
weight = 13