forked from redbrick/static-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
243 lines (230 loc) · 4.89 KB
/
_config.yml
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
---
# Site
title: Redbrick
subtitle: DCU's Networking Society
description: Redbrick is DCU’s Computer Networking society. We host events for everything computing related this ranges from; how to setup your own website and storing your photos online to System Administration and Computer Programming Tutorials. We also host a number of services for our membership.
author: Redbrick
email: [email protected]
language: en
timezone: Europe/Dublin
# Menus
menu:
Home:
url: .
icon: home
Archives:
url: archives
icon: archive
About:
icon: info
The Society:
url: about
icon: info
Committee:
url: about/committee
icon: users
Constitution:
url: about/constitution
icon: book
Regulations:
url: about/regulations
icon: file-text-o
Contact:
url: about/contact
icon: reply
Past Committee:
url: about/past-committees
icon: users
Help:
icon: question
Helpdesk:
url: help
icon: question
Joining:
url: /help/joining
icon: sign-in
Tutorial:
url: /help/tutorials
icon: bank
Exams:
url: /help/exams
icon: graduation-cap
Services:
url: /help/services
icon: database
Services:
icon: linux
Mail:
url: https://webmail.redbrick.dcu.ie
icon: envelope
Wiki:
url: https://wiki.redbrick.dcu.ie
icon: university
Chat:
url: https://webchat.redbrick.dcu.ie
icon: wechat
Git:
url: https://git.redbrick.dcu.ie
icon: git
Mastodon:
url: https://mastodon.redbrick.dcu.ie
icon: retweet
Hackmd:
url: https://md.redbrick.dcu.ie
icon: file-code-o
Hastebin:
url: https://paste.redbrick.dcu.ie
icon: clipboard
Events:
url: /events
icon: calendar
footer:
- text: events
url: /events
- text: contact
url: /about/contact
- text: Call for Talks
url: /CFT
# URL
url: http://redbrick.dcu.ie
root: /
permalink: :year/:month/:day/:title/
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:
# Markdown
marked:
gfm: true
pedantic: false
sanitize: false
tables: true
breaks: false
smartLists: true
smartypants: true
# Category & Tag
default_category: Redbrick
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: DD/MM/YYYY
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# RSS Feed
feed:
type: atom
path: atom.xml
limit: 20
# Api
toJson:
enablePagination: true # chunk the index.json array based on per_page in _config.yml
configs: false # donnot generate the global and theme config api.
pages:
selectors:
- title # string selector
- date
- updated
- permalink
- excerpt
- photos
- link
extracts: [content]
posts:
selectors:
- title
- date
- updated
- excerpt
- permalink
- photos
- {path: tags, childrenSelectors: ['name', 'slug', 'permalink']} # object selector
- {path: categories, childrenSelectors: ['name', 'slug', 'permalink']}
extracts: [content]
tags: true
categories: true
# Extensions
## Plugins: https://hexo.io/plugins/
hfc_html:
enable: true
hfc_css:
enable: true
exclude:
- '*.min.css'
hfc_js:
enable: false
mangle: true
exclude:
- '*.min.js'
hfc_favicons:
enable: true
src: assets/images/logo-small.png
target: /
icons:
android: true
appleIcon: true
appleStartup: false
coast: false
favicons: true
firefox: false
opengraph: false
windows: false
yandex: false
hfc_img:
enable: true
interlaced: false
multipass: false
optimizationLevel: 2
pngquant: false
progressive: false
webp: true
webpQuality: 75
gifslice: true
jpegtran: true
jpegrecompress: false
jpegrecompressQuality: 'medium'
optipng: true
svgo: false
## Themes: https://hexo.io/themes/
theme: redbrick-theme
# Server Config
server:
useSendMail: false
email:
host: mailhost.redbrick.dcu.ie
port: 25
secure: false
authMethod: plain
auth:
user: ''
pass: ''
mailsubject: Redbrick Update
siteroot: http://redbrick.dcu.ie
logDirectory: ./logs
logRotationFreqency: 168h # 1 week in hours
recaptcha:
siteKey: '6LfClyATAAAAAErMssL8Y2iCwGx2JfdcxQHD8biq'
secretKey: ''