generated from zhonger/jekyll-theme-H2O-ac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
202 lines (165 loc) · 4.72 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
version: 2.0.0
# Site settings
title: 'CookieCode'
description: 'In this blog I share with you some answers to problems I faced during my life of developer. Also some nice tools I like to use, configurations and so on.'
keyword: 'cookiecode,svermeille, blog'
url: 'https://cookiecode.dev' # your host
# when build blog on server, if you don't need baseurl, you should leave this value blank.
# if you're using GitHub Pages, set baseurl to your blog's .
# for example, if your site is "kaeyleo.github.io", then this url should leave blank.
# but if your created a repo named "myblog", and the site is "kaeyleo.github.io/myblog", change baseurl to '/myblog'
baseurl: ''
# Github
github:
enabled: true
owner: svermeille
repository: cookiecode.dev
# PWA
pwa:
color: '#81BBFF'
short_name: 'lisz'
# International
language: en-US
# Navigation links
nav:
home: '/blog/index.html'
projects: '/oss/index.html'
# home: '/'
# blog: '/blog/index.html'
# archives: '/archives.html'
# tags: '/tags.html'
about me: '/'
# about:
# RSS: '/feed.xml'
# Gray for the whole site
gray: false
# Formats
# (Time format):0 -- 2022-04-29 1 -- 29 Apr 2022 2 -- 2022年4月29日
formats:
time: 0
# Favicon
favicon: "/favicon.ico"
# Footer
footer:
since: 2022
# Author
author: 'svermeille'
nickname: 'svermeille'
bio: 'Developer Advocate, enthusiast attracted by Clean Code concepts and keeping code enjoyable to work with :)'
avatar: '/assets/img/profile.png'
# Search
search: true
# Night mode
nightMode: true
# Comments
comments:
disqus: true
disqus_url: 'https://cookiecode-dev.disqus.com/embed.js'
# MathJax by Ray-Eldath
mathjax: true
# Share
social-share: false
social-share-items: ['wechat', 'weibo', 'douban', 'twitter']
# theme color
theme-color: 'default' # pink or default
# Post header background patterns (when the post no cover): circuitBoard, overlappingCircles, food, glamorous, ticTacToe, seaOfClouds
postPatterns: 'circuitBoard'
# SNS settings
# url: email, weibo, zhihu, twitter, instagram, juejin, github, douban, facebook, dribble, uicn, jianshu, medium, linkedin
sns:
github: 'https://github.com/sebastienvermeille'
# Links
links:
# 'Mr Li': 'https://lisz.me'
# CC License
cclicense: true
# Busuanzi Analytics
busuanzi: true
# Google Analytics
# google_analytics: UA-XXXXXXXXX-X
google_analytics: UA-91985102-2
# Google Search
google_search:
# ToS
tos: /tos.html
# Tags
recommend-tags: true # whether or not display recommend-tags on the sidebar
recommend-condition-size: 12 # a tag will be recommended if the size of it is more than this value
# Build settings
pagination:
enabled: true
per_page: 5
permalink: 'page:num/'
title: ':title | :num of :max'
limit: 0
sort_field: 'date'
sort_reverse: true
exclude: ['node_modules', 'dev', 'package.json', 'gulpfile.js', '.gitignore', 'README.md', '*.gemspec', '*.gem']
# Markdown
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM
# Prism settings
# Support all official and extended themes
# Please visit https://prismjs.com and https://github.com/PrismJS/prism-themes/tree/master/themes to check the supported theme names
prism:
theme: one-light
line_numbers: true
# RSS
RSS: true
# Permalink
# See: https://github.com/kaeyleo/jekyll-theme-H2O/issues/35
permalink: /:categories/:title.html
# Extlinks
extlinks:
attributes: {rel: nofollow, target: _blank, class: extlinks}
# rel_exclude: ['host1.com', 'host2.net']
# class_exclude: ['host1.com', 'host2.net']
# Mermaid
mermaid: true
# TOC
toc: true
# <div class="title">{% if title %} {{title}} {% else %} {{default_title}} {% endif %}</div>
# premonition
premonition:
default:
template: '<div class="premonition {{type}}">
<div class="header">
<svg class="icon {{type}}" aria-hidden="true">
<use xlink:href="#icon-{{type}}"></use>
</svg>
<div class="title"> {{title}} </div>
</div>
<div class="content">
{{content}}
</div>
</div>'
types:
citation:
template: '<div class="premonition {{type}}">
<div class="header">
<svg class="icon {{type}}" aria-hidden="true">
<use xlink:href="#icon-{{type}}"></use>
</svg>
</div>
<div class="content">
{{content}}
</div>
{% if title %}<div class="ref"> ------ {{title}} </div>{% endif %}
</div>'
default_title: ''
note:
default_title: 'Note'
info:
default_title: 'Info'
warning:
default_title: 'Warning'
error:
default_title: 'Error'
# Plugins
plugins: [jekyll-paginate-v2, jekyll-feed, jekyll-sitemap, premonition, h2o-ac-jekyll-extlinks]
# Custom
collections:
oss_projects:
output: true