forked from gmt-china/gmt-china.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
92 lines (73 loc) · 1.77 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
baseURL = "http://gmt-china.org/"
languageCode = "zh-cmn-Hans"
title = "GMT 中文社区"
theme = "hugo-theme-gmt"
paginate = 10
disablePathToLower = true
preserveTaxonomyNames = true
hasCJKLanguage = true
defaultLayout = "blog"
ignoreFiles = ["gmt-chinese-users.dat",
"GeoJSON.pl",
"gmt.history",
"gmt.conf",
".ps$",
]
[blackfriday]
hrefTargetBlank = true
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
[permalinks]
blog = "/blog/:slug/"
[author]
name = "GMT 中文社区"
email = "[email protected]"
[params]
description = "面向 GMT 中文用户的小众社区"
copyright = "Powered by [Hugo](https://gohugo.io) & Hosted by [GitHub](https://github.com/gmt-china/gmt-china.org)."
# Format dates with Go's time formating
# since = 2016
date_format = "2006年01月02日"
sectionsInBlog = ["blog", "example"]
sectionsInGallery = ["example"]
userMap = "gmt-chinese-users.json"
# Navigation Links
# The weight parameter defines the order that the links will appear in.
[[menu.main]]
name = "首页"
url = "/"
weight = 1
[[menu.main]]
name = "文档"
url = "/docs/"
weight = 2
[[menu.main]]
name = "图库"
url = "/gallery/"
weight = 3
[[menu.main]]
name = "博客"
url = "/blog/"
weight = 4
[[menu.main]]
name = "下载"
url = "/download/"
weight = 5
[[menu.main]]
name = "贡献者"
url = "/authors/"
weight = 6
[[menu.main]]
name = "关于"
url = "/about/"
weight = 7
[[menu.icon]]
name = "github"
url = "https://github.com/gmt-china"
weight = 8
[[menu.icon]]
name = "envelope"
url = "mailto:[email protected]"
weight = 9