-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
225 lines (189 loc) · 6 KB
/
config.toml
File metadata and controls
225 lines (189 loc) · 6 KB
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
baseurl = "https://socrateslab.github.io/"
title = "Computational Communication Collaboratroy"
theme = "hugo-universal-theme"
languageCode = "en-us"
hasCJKLanguage=true
summaryLength= 35
relativeURLs = true
canonifyURLs=true
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true
# Enable comments by entering your Disqus shortname
# disqusShortname = "computational-communication"
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
# Define the number of posts per page
pagination.pagerSize = 20
[menu]
# Main menu
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "People"
url = "/en/people/"
weight = 2
[[menu.main]]
name = "News"
url = "/en/blog/"
identifier = "News"
weight = 3
[[menu.main]]
name = "PUBLICATION"
identifier = "Publication"
url = "/en/publication/"
weight = 4
[[menu.main]]
name = "TEACHING"
identifier = "Teaching"
url = "/en/teaching/"
weight = 5
[[menu.main]]
name = "Contact"
url = "/contact/"
weight = 6
[[menu.main]]
name = "Admin"
url = "https://github.com/socrateslab/socrateslab.github.io/tree/master/content/blog"
weight = 7
[[menu.main]]
name = "中文"
url = "/zh/"
weight = 8
# Top bar social links menu
[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://github.com/socrateslab/"
pre = "<i class='fa fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 2
name = "Facebook"
url = "http://facebook.com"
pre = "<i class='fa fa-2x fa-facebook'></i>"
[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fa fa-2x fa-twitter'></i>"
[[menu.topbar]]
weight = 4
name = "Email"
url = "mailto:computational.communication@gmail.com"
pre = "<i class='fa fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/blog/"
author = "DevCows"
defaultKeywords = ["devows", "hugo", "go"]
defaultDescription = "Site template made by devcows using hugo"
# Google Maps API key (if not set will default to not passing a key.)
googleMapsApiKey = ""
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "default"
# 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 = "computational.communication@gmail.com"
about_us = "<p>Computational Communication Collaboratory (CCC, C-Cube, or C3) was established in February 2015 by the School of Journalism and Communication, Nanjing University.</p>"
copyright = "Copyright (c) 2015-now, Computational Communication Collaboratory, All rights reserved."
# Format dates with Go's time formatting
date_format = "January 2, 2006"
logo = "img/logo.png"
logo_small = "img/logo.png"
address = """<p><strong>Computational Communication Collaboratory</strong>
<br>307 Zijin Building, Nanjing University (Xianlin Campus)
<br>163 Xianlin Road, Qixia District
<br>Nanjing
<br>Jiangsu
<br>
<strong>China</strong>
<br>210023
</p>
"""
#latitude = ""
#longitude = ""
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
# Enable or disable top bar with social icons
[params.topbar]
enable = true
text = """
<p class="hidden-sm hidden-xs">computational.communication@gmail.com</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
</p>
"""
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = false
tags = false
search = 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 = 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 = "People"
subtitle = ""
[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 = "Projects"
subtitle = ""
[params.recent_posts]
enable = true
title = "News"
subtitle = ""
hide_summary = true
[params.see_more]
enable = true
icon = "fa fa-file-alt"
title = "Read More News"
subtitle = ""
link_url = "/en/blog/"
link_text = "Check other news."
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = 'github'
[markup.goldmark.parser.attribute]
block = false
title = true
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xhtml = false