forked from LouisBarranqueiro/hexo-theme-tranquilpeak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
291 lines (273 loc) · 10.8 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
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
283
284
285
286
287
288
289
290
291
# I STRONGLY recommend you to use a CDN to speed up loading of pages.
# There is many free CDN like Cloudinary or you can also use indirectly
# by using services like Google Photos.
# If you want to store images yourself, please read this guidelines:
# For users, if you only use this theme, put your images directly in `source/assets/images` folder
# But if you want to add local images, you can put your images directly in `source/assets/images` folder
# For developpers, if you modify this theme, put your images in `source/_images` folder and
# use grunt task `build` to synchronize assets
# Image directory (default: images)
image_dir: assets/images
# ---------------------
# Sidebar Configuration
# ---------------------
# You can add groups of links and links much as you want
# You just have to respect the indentation : `groups of links` -> `link` -> `title, link, icon`
# E.g:
# -------------
# sidebar: # DON'T modify this variable name
# menu: # Name of your groups of links (changeable)
# home: # Name of your link (changeable)
# title: Home # Title of your link displayed
# url: / # URL of the link. If the URL is internal, domain name is not necessary
# icon: home # CSS class names of the Font Awesome icon
# # Go to https://fontawesome.com/icons?d=gallery&m=free to find icons you want
sidebar:
menu:
home:
title: global.home
url: /
icon: fa fa-home
categories:
title: global.categories
url: /all-categories
icon: fa fa-bookmark
tags:
title: global.tags
url: /all-tags
icon: fa fa-tags
archives:
title: global.archives
url: /all-archives
icon: fa fa-archive
search:
title: global.search
url: "#search"
icon: fa fa-search
# `open-algolia-search` classes are used to open algolia search modal
class: open-algolia-search
about:
title: global.about
url: "#about"
icon: fa fa-question
author_links:
github:
title: global.github
url: https://github.com/fletchto99
icon: fab fa-github
# stack_overflow:
# title: global.stack_overflow
# url: http://stackoverflow.com/users
# icon: stack-overflow
twitter:
title: global.twitter
url: https://twitter.com/fletchto99
icon: fab fa-twitter
# facebook:
# title: global.facebook
# url: https://facebook.com/
# icon: facebook
# google_plus:
# title: global.google_plus
# url: https://plus.google.com/
# icon: google-plus
linked_in:
title: global.linkedin
url: https://www.linkedin.com/in/mattlanglois
icon: fab fa-linkedin
# mail:
# title: global.mail
# url: mailto:
# icon: envelope-o
rss:
rss:
title: global.rss
url: /atom.xml
icon: fa fa-rss
# --------------------
# Header configuration
# --------------------
# The link at the right of the header is customizable
# You can add a link (as an icon) at the right of the header instead of the author's gravatar image or author's picture.
# By default, author's gravatar or author's picture is displayed if `icon` is empty
# DON'T edit `header`, `right_link`, `url`, `icon` and `class` variable name
# E.g to display a shortcut to open algolia search window :
# url: /#search
# icon: "fa fa-search"
# class: open-algolia-search
header:
right_link:
url: /#about
icon:
class:
# ------
# Author
# ------
# Your biography and your job is editable in each languages files in `languages` folder
author:
email: fletchto99@gmail.com
location: Denver, CO
# Your profile picture located in folder `source/_images/` (development)
# or in `source/assets/images/` (production)
# or you can use an external url
# Overwritten by your gravatar image if `gravatar_email` is filled
picture: https://images.fletchto99.com/blog/profile.jpg
# Your Twitter username without the @. E.g : `tranquilpeak`
twitter: fletchto99
# Your personal google plus profile id, not your blog or business page id.
# E.g : `+JohnDoe` or `123812884128439`
google_plus:
# Your businnes google plus profile id. If not provided, personal will be used instead.
# E.g : `+Tranquilpeak` or `123812884128439`
google_plus_business:
# -------------
# Customization
# -------------
# Define the behavior of the sidebar
# 1: Display extra large sidebar on extra large screen, large sidebar on large screen,
# medium sidebar on medium screen and header bar on small screen and
# extra large sidebar is swiped on extra large screen and large sidebar on all lower screen (default)
# 2: Display large sidebar on large screen, medium sidebar on medium screen and
# header bar on small screen and large sidebar is swiped
# 3: Display medium sidebar on large and medium screen and header bar on small screen and
# medium sidebar is swiped
# 4: Display header bar on all screens, extra large sidebar is swiped on extra large screen and
# large sidebar is swiped on all lower screens
# 5: Display header bar on all screens and large sidebar is swiped on large screen
# 6: Display header bar on all screens and medium sidebar is swiped
sidebar_behavior: 2
# Hide sidebar on all article page to let article take full width to improve reading, and
# enjoy wide images and cover images. (true: enable, false: disable)
clear_reading: false
# Display thumbnail image of each post on index pages (false: disabled, true: enabled)
thumbnail_image: true
# Display thumbnail image at the right of title in index pages (`right`, `left` or `bottom`)
# Set this value to `right` if you have old posts to keep the old style on them
# and define `thumbnailImagePosition` on a post to overwrite this setting
thumbnail_image_position: right
# Automatically select the cover image or the first photo from the gallery of a post if
# there is no thumbnail image as the thumbnail image
# Set this value to `true` if you have old posts that use the cover image or the first photo as the thumbnail image
# and set `autoThumbnailImage` to `false` on a post to overwrite this setting
auto_thumbnail_image: true
# Your blog cover picture. I STRONGLY recommend you to use a CDN to speed up loading of pages.
# There is many free CDN like Cloudinary or you can also use indirectly
# by using services like Google Photos.
# Current image is on AWS S3 and delivered by AWS CloudFront.
# Otherwise put your image in folder `source/_images/` (development)
# or in `source/assets/images/` if you can't or don't want to build the theme,
# and use relative url : `your-image.png`
cover_image: https://images.fletchto99.com/blog/cover.jpg
# Your favicon located in folder `source/_images/` (development) or in `source/assets/images/` (production)
favicon: https://images.fletchto99.com/favicon.ico
# Display an image gallery at the end of a post which have photos variables (false: disabled, true: enabled)
image_gallery: true
# Pagination behavior of archive, category and tag pages (false: pagination disabled, true: pagination enabled)
archive_pagination: true
category_pagination: true
tag_pagination: true
# Show some stats about the post in the post's metadata
reading_time: true
word_count: true
# ---------------
# Comment systems
# ---------------
# Your Disqus shortname
disqus_shortname:
# Your Gitment information
# Read https://github.com/imsun/gitment#get-started to setup Gitment
gitment:
# Switch
enable: false
# Your Github ID (Github username):
github_id:
# The repo to store comments:
repo:
# Your client ID:
client_id:
# Your client secret:
client_secret:
# The attribute of posts to use to link them to GitHub issues.
# See all attributes: https://hexo.io/docs/variables#Page-Variables
# `path` is recommended because the identifier needs to be unique and shorter than 50 characters.
post_identifier: permalink
# Your Gitalk information
# Read https://github.com/gitalk/gitalk#options to set up Gitalk
gitalk:
# Switch
enable: false
# Your client ID:
client_id:
# Your client secret:
client_secret:
# Your Github ID (Github username):
owner:
# The repo to store comments:
repo:
# The attribute of posts to use to link them to GitHub issues.
# See all attributes: https://hexo.io/docs/variables#Page-Variables
# `path` is recommended because the identifier needs to be unique and shorter than 50 characters.
post_identifier: title
# See all options: https://github.com/gitalk/gitalk#options
options:
language: "en"
perPage: 10
distractionFreeMode: false
enableHotKey: true
pagerDirection: "first"
# Your Gitalk information
# Read https://github.com/gitalk/gitalk#options to set up Gitalk
giscus:
enable: true
repo: fletchto99/fletchto99.dev
repo_id: MDEwOlJlcG9zaXRvcnk3MTA3NzAxNw==
category: Post Comments
category_id: DIC_kwDOBDyMmc4CSq7w
mapping: title
strict: 0
reactions_enabled: 1
emit_metadata: 1
input_position: top
theme: light
lang: en
loading: lazy
# -------------------
# Integrated services
# -------------------
# Your Google analystics web property ID : UA-XXXXX-X
google_analytics_id: G-ZBC73W78HB
# Your Baidu analystics web property ID : 9505a5af654a2478f93fd6c0ae4f687d
baidu_analytics_id:
# Your Gravatar email. Overwrite `author.picture` everywhere in the blog
gravatar_email:
# Your Facebook user ids used to connect your blog with your facebook user accounts (Facebook Insights). Separate ids with comma. e.g : 9830047,1003342
fb_admin_ids:
# Your Facebook app id used to connect your blog with your facebook app account (Facebook Insights). E.g : 9841307
fb_app_id:
# ---------------
# Sharing options
# ---------------
# Comment or uncomment lines to disable or enable sharing options.
# If you want to add a sharing option, follow these steps.
# E.g: with `foo_bar` social network:
#
# 1. Add a new option based on the other.
# ```
# sharing_options:
# foo_bar:
# icon: "fa-foo_bar"
# url: "https://www.foo_bar.com/sharer/sharer.php?u={{post.permalink}}"
# ```
#
# 2. Add a line in the language file that you use (location: `themes/tranquilpeak/languages/`)
# ```
# global:
# share_on_foo_bar: "Share on Foo Bar"
# ```
sharing_options:
facebook:
icon: "fab fa-facebook"
url: "https://www.facebook.com/sharer/sharer.php?u={{post.permalink}}"
twitter:
icon: "fab fa-twitter"
url: "https://twitter.com/intent/tweet?text={{post.permalink}}"