-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.toml
282 lines (236 loc) · 7.66 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
baseurl = "https://taipei.gdgcloud.tw/"
title = "GDGCloud Taipei"
theme = "hugo-universal-theme"
themesDir = "./themes"
languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "zh-tw"
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
# Code highlight
PygmentsCodeFences = false
# Define the number of posts per page
paginate = 10
[menu]
# Main menu
[[menu.main]]
identifier="home"
name = "首頁"
url = "/"
weight = 1
[[menu.main]]
identifier="blog"
name = "文章"
url = "/blog/"
weight = 2
[[menu.main]]
identifier = "community"
name = "社群"
weight = 10
# [[menu.main]]
# parent="community"
# name = "Meetup"
# url = "/tags/meetup"
# weight = 11
[[menu.main]]
parent="community"
name = "作者文章投稿"
url = "/authors/"
weight = 12
[[menu.main]]
parent="community"
name = "譯者文章投稿"
url = "/translators/"
weight = 13
[[menu.main]]
parent="community"
name = "譯者文章投稿"
url = "/translators/"
weight = 14
[[menu.main]]
parent="community"
name = "投搞指南"
url = "/contributing-specification/"
weight = 15
[[menu.main]]
parent="community"
name = "Meetup 活動索引"
url = "/activities/"
weight = 16
[[menu.main]]
parent="community"
name = "工商服務"
url = "/jobs/"
weight = 17
[[menu.main]]
identifier = "fas fa-external-link-alt"
name = "報名"
url = "https://gdg.community.dev/gdg-cloud-taipei/"
weight = 20
pre = "<i class='fas fa-external-link-alt'></i>"
[menu.main.params]
target="_blank"
[[menu.main]]
identifier = "contact"
name = "連絡我們"
url = "/contact/"
weight = 30
# Top bar social links menu
[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://github.com/devcows/hugo-universal-theme"
pre = "<i class='fab fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 2
name = "Facebook"
url = "http://facebook.com"
pre = "<i class='fab fa-2x fa-facebook'></i>"
[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fab fa-2x fa-twitter'></i>"
[[menu.topbar]]
weight = 4
name = "Email"
url = "mailto:your@email.com"
pre = "<i class='fas fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/blog/"
author = "GDG Cloud Taipei"
defaultKeywords = ["gdgcloud", "gcp"]
mainSections = ["blog"]
defaultDescription = "GDGCloud Taipei Blog"
# Social media
facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE')
twitter_site = "" # the Twitter handle of your site (without the '@')
default_sharing_image = "img/sharing-default.png"
# Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget).
enableGoogleMaps = false
googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
latitude = "-12.043333"
longitude = "-77.028333"
# 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 50 emails each month for free.
#
# What you need to do for the setup?
#
# - register your account to https://formspree.io/register
# - login and create new form
# - set your form's endpoint url under 'formspree_action' below
# - upload the generated site to your server
# - test a dummy email yourself
# - you're done. Happy mailing!
#
# Enable the contact form by entering your Formspree.io endpoint url
# formspree_action = ""
contact_form_ajax = false
# 404 page
errorimage = "/img/404.png"
about_us = "<p>我們是 GDGCloud Taipei。在 Google 雲端服務在台灣地區展露頭角之後,有許多新的服務、新的知識、新的創意,歡迎大家一起分享,一起了解 Google 雲端服務"
copyright = "Copyright ©️ 2021, GDGCloud Taipei all rights reserved."
# Format dates with Go's time formatting
date_format = "2006年1月2日"
logo = "img/logo.png"
logo_small = "img/logo-small.png"
address = """<p>請至 Facebook 搜尋 GCPUG.TW 或是掃描下面的 QR code,加入社團</p><p><img src="/img/gcpugtaipei_fb_group_128.png"></p>"""
[Permalinks]
blog = "/blog/:filename/"
# Enable or disable top bar with social icons
[params.topbar]
enable = false
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or hello@universal.com.</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fas fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fas fa-envelope"></i></a>
</p>
"""
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = true
[params.widgets.search]
enable = true
# // support search now
type = "algolia"
# max index length of the chunked content
contentLength = 4000
# placeholder of the search bar
placeholder = ""
# max number of results length
maxResultLength = 10
# snippet length of the result
snippetLength = 30
# HTML tag name of the highlight part in results
highlightTag = "em"
# whether to use the absolute URL based on the baseURL in search index
absoluteURL = false
[params.widgets.search.algolia]
index = "index"
appID = "NB585T2ARG"
searchKey = "cb8f73df3ed60f44442002afdf582f51"
[params.widgets.comment]
enable = true
[params.widgets.comment.disqus]
enable = false
# Disqus shortname to use Disqus in posts
# Disqus 的 shortname,用来在文章中启用 Disqus 评论系统
shortname = "taipei-gdgcloud-tw"
[params.widgets.comment.utterances]
enable = true
# owner/repo
repo = "gdgcloud-taipei/website"
issueTerm = "pathname"
label = "comment"
lightTheme = "github-light"
darkTheme = "github-dark"
[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 = true
# 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 = "公告"
subtitle = ""
[params.see_more]
enable = true
icon = "far fa-file-alt"
title = "一同參與"
subtitle = "加入 GDGCloud Taipei"
link_url = "/contact"
link_text = "更多資訊"
[params.clients]
enable = true
# 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 = "贊助商"
subtitle = ""
[params.recent_posts]
enable = true
title = "最新文章"
subtitle = "社群參與者的部落格與最 in 的新聞都在這裡"
[outputs]
home = ["HTML", "RSS", "algolia"]
[outputFormats.Algolia]
baseName = "algolia"
isPlainText = true
mediaType = "application/json"
notAlternative = true
[taxonomies]
tag = "tags"
category = "categories"
author = "author"
translator = "translator"