jekyll-theme-chirpy 5.0.2 → 6.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +64 -74
- data/_data/locales/ar.yml +91 -0
- data/_data/locales/bg-BG.yml +81 -0
- data/_data/locales/cs-CZ.yml +89 -0
- data/_data/locales/de-DE.yml +80 -0
- data/_data/locales/el-GR.yml +91 -0
- data/_data/locales/en.yml +23 -23
- data/_data/locales/es-ES.yml +77 -0
- data/_data/locales/fi-FI.yml +90 -0
- data/_data/locales/fr-FR.yml +77 -0
- data/_data/locales/hu-HU.yml +79 -0
- data/_data/locales/id-ID.yml +5 -19
- data/_data/locales/it-IT.yml +90 -0
- data/_data/locales/ko-KR.yml +12 -19
- data/_data/locales/my-MM.yml +77 -0
- data/_data/locales/pt-BR.yml +77 -0
- data/_data/locales/ru-RU.yml +77 -0
- data/_data/locales/sl-SI.yml +91 -0
- data/_data/locales/sv-SE.yml +91 -0
- data/_data/locales/th.yml +91 -0
- data/_data/locales/tr-TR.yml +77 -0
- data/_data/locales/uk-UA.yml +77 -0
- data/_data/locales/vi-VN.yml +76 -0
- data/_data/locales/zh-CN.yml +13 -20
- data/_data/locales/zh-TW.yml +83 -0
- data/_data/origin/basic.yml +48 -0
- data/_data/origin/cors.yml +59 -0
- data/_includes/comments/disqus.html +27 -31
- data/_includes/comments/giscus.html +64 -0
- data/_includes/comments/utterances.html +2 -2
- data/_includes/datetime.html +20 -0
- data/_includes/embed/twitch.html +4 -0
- data/_includes/embed/youtube.html +6 -0
- data/_includes/footer.html +31 -32
- data/_includes/head.html +66 -46
- data/_includes/js-selector.html +83 -45
- data/_includes/jsdelivr-combine.html +26 -0
- data/_includes/lang.html +1 -1
- data/_includes/mermaid.html +30 -29
- data/_includes/metadata-hook.html +1 -0
- data/_includes/mode-toggle.html +66 -51
- data/_includes/notification.html +24 -0
- data/_includes/origin-type.html +13 -0
- data/_includes/post-nav.html +26 -22
- data/_includes/post-paginator.html +79 -76
- data/_includes/post-sharing.html +27 -16
- data/_includes/read-time.html +17 -10
- data/_includes/refactor-content.html +129 -73
- data/_includes/related-posts.html +48 -58
- data/_includes/search-loader.html +32 -31
- data/_includes/search-results.html +4 -5
- data/_includes/sidebar.html +79 -67
- data/_includes/toc.html +4 -7
- data/_includes/topbar.html +62 -56
- data/_includes/trending-tags.html +15 -19
- data/_includes/update-list.html +14 -15
- data/_layouts/archives.html +25 -29
- data/_layouts/categories.html +97 -58
- data/_layouts/category.html +8 -10
- data/_layouts/default.html +67 -31
- data/_layouts/home.html +67 -56
- data/_layouts/page.html +20 -58
- data/_layouts/post.html +85 -94
- data/_layouts/tag.html +8 -10
- data/_layouts/tags.html +6 -5
- data/_sass/addon/commons.scss +679 -878
- data/_sass/addon/module.scss +70 -23
- data/_sass/addon/syntax.scss +127 -110
- data/_sass/addon/variables.scss +16 -18
- data/_sass/colors/syntax-dark.scss +138 -0
- data/_sass/colors/syntax-light.scss +179 -0
- data/_sass/colors/{dark-typography.scss → typography-dark.scss} +58 -56
- data/_sass/colors/typography-light.scss +110 -0
- data/_sass/layout/archives.scss +86 -89
- data/_sass/layout/categories.scss +29 -13
- data/_sass/layout/category-tag.scss +9 -10
- data/_sass/layout/home.scss +132 -114
- data/_sass/layout/post.scss +213 -173
- data/_sass/layout/tags.scss +1 -1
- data/_sass/main.scss +13 -0
- data/assets/404.html +1 -20
- data/assets/css/jekyll-theme-chirpy.scss +6 -0
- data/assets/feed.xml +2 -2
- data/assets/js/data/search.json +8 -5
- data/assets/js/data/swcache.js +14 -29
- data/assets/js/dist/categories.min.js +2 -4
- data/assets/js/dist/commons.min.js +2 -4
- data/assets/js/dist/home.min.js +2 -4
- data/assets/js/dist/misc.min.js +4 -0
- data/assets/js/dist/page.min.js +2 -4
- data/assets/js/dist/post.min.js +2 -4
- data/assets/js/pwa/app.js +42 -4
- data/assets/js/pwa/sw.js +46 -44
- data/assets/js/pwa/unregister.js +12 -0
- metadata +64 -32
- data/_config.yml +0 -175
- data/_data/contact.yml +0 -30
- data/_data/share.yml +0 -27
- data/_includes/css-selector.html +0 -15
- data/_includes/no-zero-date.html +0 -13
- data/_includes/timeago.html +0 -26
- data/_plugins/posts-lastmod-hook.rb +0 -14
- data/_sass/colors/dark-syntax.scss +0 -87
- data/_sass/colors/light-syntax.scss +0 -79
- data/_sass/colors/light-typography.scss +0 -81
- data/_sass/jekyll-theme-chirpy.scss +0 -24
- data/_tabs/about.md +0 -8
- data/_tabs/archives.md +0 -7
- data/_tabs/categories.md +0 -6
- data/_tabs/tags.md +0 -6
- data/assets/css/style.scss +0 -12
- data/assets/js/dist/pvreport.min.js +0 -6
- data/index.html +0 -4
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-chirpy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 6.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cotes Chung
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '4.
|
|
19
|
+
version: '4.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '4.
|
|
26
|
+
version: '4.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: jekyll-paginate
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,7 +94,21 @@ dependencies:
|
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '1.4'
|
|
97
|
-
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: jekyll-include-cache
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0.2'
|
|
104
|
+
type: :runtime
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0.2'
|
|
111
|
+
description:
|
|
98
112
|
email:
|
|
99
113
|
- cotes.chung@gmail.com
|
|
100
114
|
executables: []
|
|
@@ -103,28 +117,53 @@ extra_rdoc_files: []
|
|
|
103
117
|
files:
|
|
104
118
|
- LICENSE
|
|
105
119
|
- README.md
|
|
106
|
-
-
|
|
107
|
-
- _data/
|
|
120
|
+
- _data/locales/ar.yml
|
|
121
|
+
- _data/locales/bg-BG.yml
|
|
122
|
+
- _data/locales/cs-CZ.yml
|
|
123
|
+
- _data/locales/de-DE.yml
|
|
124
|
+
- _data/locales/el-GR.yml
|
|
108
125
|
- _data/locales/en.yml
|
|
126
|
+
- _data/locales/es-ES.yml
|
|
127
|
+
- _data/locales/fi-FI.yml
|
|
128
|
+
- _data/locales/fr-FR.yml
|
|
129
|
+
- _data/locales/hu-HU.yml
|
|
109
130
|
- _data/locales/id-ID.yml
|
|
131
|
+
- _data/locales/it-IT.yml
|
|
110
132
|
- _data/locales/ko-KR.yml
|
|
133
|
+
- _data/locales/my-MM.yml
|
|
134
|
+
- _data/locales/pt-BR.yml
|
|
135
|
+
- _data/locales/ru-RU.yml
|
|
136
|
+
- _data/locales/sl-SI.yml
|
|
137
|
+
- _data/locales/sv-SE.yml
|
|
138
|
+
- _data/locales/th.yml
|
|
139
|
+
- _data/locales/tr-TR.yml
|
|
140
|
+
- _data/locales/uk-UA.yml
|
|
141
|
+
- _data/locales/vi-VN.yml
|
|
111
142
|
- _data/locales/zh-CN.yml
|
|
112
|
-
- _data/
|
|
143
|
+
- _data/locales/zh-TW.yml
|
|
144
|
+
- _data/origin/basic.yml
|
|
145
|
+
- _data/origin/cors.yml
|
|
113
146
|
- _includes/comments.html
|
|
114
147
|
- _includes/comments/disqus.html
|
|
148
|
+
- _includes/comments/giscus.html
|
|
115
149
|
- _includes/comments/utterances.html
|
|
116
|
-
- _includes/
|
|
150
|
+
- _includes/datetime.html
|
|
151
|
+
- _includes/embed/twitch.html
|
|
152
|
+
- _includes/embed/youtube.html
|
|
117
153
|
- _includes/favicons.html
|
|
118
154
|
- _includes/footer.html
|
|
119
155
|
- _includes/google-analytics.html
|
|
120
156
|
- _includes/head.html
|
|
121
157
|
- _includes/js-selector.html
|
|
158
|
+
- _includes/jsdelivr-combine.html
|
|
122
159
|
- _includes/lang.html
|
|
123
160
|
- _includes/language-alias.html
|
|
124
161
|
- _includes/mermaid.html
|
|
162
|
+
- _includes/metadata-hook.html
|
|
125
163
|
- _includes/mode-toggle.html
|
|
126
164
|
- _includes/no-linenos.html
|
|
127
|
-
- _includes/
|
|
165
|
+
- _includes/notification.html
|
|
166
|
+
- _includes/origin-type.html
|
|
128
167
|
- _includes/post-nav.html
|
|
129
168
|
- _includes/post-paginator.html
|
|
130
169
|
- _includes/post-sharing.html
|
|
@@ -134,7 +173,6 @@ files:
|
|
|
134
173
|
- _includes/search-loader.html
|
|
135
174
|
- _includes/search-results.html
|
|
136
175
|
- _includes/sidebar.html
|
|
137
|
-
- _includes/timeago.html
|
|
138
176
|
- _includes/toc.html
|
|
139
177
|
- _includes/topbar.html
|
|
140
178
|
- _includes/trending-tags.html
|
|
@@ -149,29 +187,24 @@ files:
|
|
|
149
187
|
- _layouts/post.html
|
|
150
188
|
- _layouts/tag.html
|
|
151
189
|
- _layouts/tags.html
|
|
152
|
-
- _plugins/posts-lastmod-hook.rb
|
|
153
190
|
- _sass/addon/commons.scss
|
|
154
191
|
- _sass/addon/module.scss
|
|
155
192
|
- _sass/addon/syntax.scss
|
|
156
193
|
- _sass/addon/variables.scss
|
|
157
|
-
- _sass/colors/dark
|
|
158
|
-
- _sass/colors/
|
|
159
|
-
- _sass/colors/
|
|
160
|
-
- _sass/colors/light
|
|
161
|
-
- _sass/jekyll-theme-chirpy.scss
|
|
194
|
+
- _sass/colors/syntax-dark.scss
|
|
195
|
+
- _sass/colors/syntax-light.scss
|
|
196
|
+
- _sass/colors/typography-dark.scss
|
|
197
|
+
- _sass/colors/typography-light.scss
|
|
162
198
|
- _sass/layout/archives.scss
|
|
163
199
|
- _sass/layout/categories.scss
|
|
164
200
|
- _sass/layout/category-tag.scss
|
|
165
201
|
- _sass/layout/home.scss
|
|
166
202
|
- _sass/layout/post.scss
|
|
167
203
|
- _sass/layout/tags.scss
|
|
204
|
+
- _sass/main.scss
|
|
168
205
|
- _sass/variables-hook.scss
|
|
169
|
-
- _tabs/about.md
|
|
170
|
-
- _tabs/archives.md
|
|
171
|
-
- _tabs/categories.md
|
|
172
|
-
- _tabs/tags.md
|
|
173
206
|
- assets/404.html
|
|
174
|
-
- assets/css/
|
|
207
|
+
- assets/css/jekyll-theme-chirpy.scss
|
|
175
208
|
- assets/feed.xml
|
|
176
209
|
- assets/img/favicons/android-chrome-192x192.png
|
|
177
210
|
- assets/img/favicons/android-chrome-512x512.png
|
|
@@ -187,24 +220,24 @@ files:
|
|
|
187
220
|
- assets/js/dist/categories.min.js
|
|
188
221
|
- assets/js/dist/commons.min.js
|
|
189
222
|
- assets/js/dist/home.min.js
|
|
223
|
+
- assets/js/dist/misc.min.js
|
|
190
224
|
- assets/js/dist/page.min.js
|
|
191
225
|
- assets/js/dist/post.min.js
|
|
192
|
-
- assets/js/dist/pvreport.min.js
|
|
193
226
|
- assets/js/pwa/app.js
|
|
194
227
|
- assets/js/pwa/sw.js
|
|
228
|
+
- assets/js/pwa/unregister.js
|
|
195
229
|
- assets/robots.txt
|
|
196
|
-
- index.html
|
|
197
230
|
homepage: https://github.com/cotes2020/jekyll-theme-chirpy
|
|
198
231
|
licenses:
|
|
199
232
|
- MIT
|
|
200
233
|
metadata:
|
|
201
234
|
bug_tracker_uri: https://github.com/cotes2020/jekyll-theme-chirpy/issues
|
|
202
|
-
documentation_uri: https://github.com/cotes2020/jekyll-theme-chirpy
|
|
235
|
+
documentation_uri: https://github.com/cotes2020/jekyll-theme-chirpy/#readme
|
|
203
236
|
homepage_uri: https://cotes2020.github.io/chirpy-demo
|
|
204
237
|
source_code_uri: https://github.com/cotes2020/jekyll-theme-chirpy
|
|
205
238
|
wiki_uri: https://github.com/cotes2020/jekyll-theme-chirpy/wiki
|
|
206
239
|
plugin_type: theme
|
|
207
|
-
post_install_message:
|
|
240
|
+
post_install_message:
|
|
208
241
|
rdoc_options: []
|
|
209
242
|
require_paths:
|
|
210
243
|
- lib
|
|
@@ -212,16 +245,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
212
245
|
requirements:
|
|
213
246
|
- - ">="
|
|
214
247
|
- !ruby/object:Gem::Version
|
|
215
|
-
version: '2.
|
|
248
|
+
version: '2.6'
|
|
216
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
250
|
requirements:
|
|
218
251
|
- - ">="
|
|
219
252
|
- !ruby/object:Gem::Version
|
|
220
253
|
version: '0'
|
|
221
254
|
requirements: []
|
|
222
|
-
rubygems_version: 3.
|
|
223
|
-
signing_key:
|
|
255
|
+
rubygems_version: 3.4.12
|
|
256
|
+
signing_key:
|
|
224
257
|
specification_version: 4
|
|
225
|
-
summary:
|
|
226
|
-
on text presentation.
|
|
258
|
+
summary: A minimal, responsive and feature-rich Jekyll theme for technical writing.
|
|
227
259
|
test_files: []
|
data/_config.yml
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
# The Site Configuration
|
|
2
|
-
|
|
3
|
-
# Import the theme
|
|
4
|
-
theme: jekyll-theme-chirpy
|
|
5
|
-
|
|
6
|
-
# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites
|
|
7
|
-
# and doesn't have a custom domain.
|
|
8
|
-
baseurl: ''
|
|
9
|
-
|
|
10
|
-
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
|
|
11
|
-
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
|
|
12
|
-
# otherwise, the layout language will use the default value of 'en'.
|
|
13
|
-
lang: en
|
|
14
|
-
|
|
15
|
-
# Change to your timezone › http://www.timezoneconverter.com/cgi-bin/findzone/findzone
|
|
16
|
-
timezone: Asia/Shanghai
|
|
17
|
-
|
|
18
|
-
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
|
|
19
|
-
# ↓ --------------------------
|
|
20
|
-
|
|
21
|
-
title: Chirpy # the main title
|
|
22
|
-
|
|
23
|
-
tagline: A text-focused Jekyll theme # it will display as the sub-title
|
|
24
|
-
|
|
25
|
-
description: >- # used by seo meta and the atom feed
|
|
26
|
-
A minimal, portfolio, sidebar,
|
|
27
|
-
bootstrap Jekyll theme with responsive web design
|
|
28
|
-
and focuses on text presentation.
|
|
29
|
-
|
|
30
|
-
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
|
|
31
|
-
url: ''
|
|
32
|
-
|
|
33
|
-
github:
|
|
34
|
-
username: github_username # change to your github username
|
|
35
|
-
|
|
36
|
-
twitter:
|
|
37
|
-
username: twitter_username # change to your twitter username
|
|
38
|
-
|
|
39
|
-
social:
|
|
40
|
-
# Change to your full name.
|
|
41
|
-
# It will be displayed as the default author of the posts and the copyright owner in the Footer
|
|
42
|
-
name: your_full_name
|
|
43
|
-
email: example@doamin.com # change to your email address
|
|
44
|
-
links:
|
|
45
|
-
# The first element serves as the copyright owner's link
|
|
46
|
-
- https://twitter.com/username # change to your twitter homepage
|
|
47
|
-
- https://github.com/username # change to your github homepage
|
|
48
|
-
# Uncomment below to add more social links
|
|
49
|
-
# - https://www.facebook.com/username
|
|
50
|
-
# - https://www.linkedin.com/in/username
|
|
51
|
-
|
|
52
|
-
google_site_verification: google_meta_tag_verification # change to your verification string
|
|
53
|
-
|
|
54
|
-
# ↑ --------------------------
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
google_analytics:
|
|
58
|
-
id: '' # fill in your Google Analytics ID
|
|
59
|
-
# Google Analytics pageviews report settings
|
|
60
|
-
pv:
|
|
61
|
-
proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
|
|
62
|
-
cache_path: # the local PV cache data, friendly to visitors from GFW region
|
|
63
|
-
|
|
64
|
-
# Prefer color scheme setting.
|
|
65
|
-
#
|
|
66
|
-
# Note: Keep empty will follow the system prefer color by default,
|
|
67
|
-
# and there will be a toggle to switch the theme between dark and light
|
|
68
|
-
# on the bottom left of the sidebar.
|
|
69
|
-
#
|
|
70
|
-
# Available options:
|
|
71
|
-
#
|
|
72
|
-
# light - Use the light color scheme
|
|
73
|
-
# dark - Use the dark color scheme
|
|
74
|
-
#
|
|
75
|
-
theme_mode: # [light|dark]
|
|
76
|
-
|
|
77
|
-
# The CDN endpoint for images.
|
|
78
|
-
# Notice that once it is assigned, the CDN url
|
|
79
|
-
# will be added to all image (site avatar & posts' images) paths starting with '/'
|
|
80
|
-
#
|
|
81
|
-
# e.g. 'https://cdn.com'
|
|
82
|
-
img_cdn:
|
|
83
|
-
|
|
84
|
-
# the avatar on sidebar, support local or CORS resources
|
|
85
|
-
avatar:
|
|
86
|
-
|
|
87
|
-
# boolean type, the global switch for ToC in posts.
|
|
88
|
-
toc: true
|
|
89
|
-
|
|
90
|
-
comments:
|
|
91
|
-
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
|
|
92
|
-
# The active options are as follows:
|
|
93
|
-
disqus:
|
|
94
|
-
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
|
|
95
|
-
# utterances settings › https://utteranc.es/
|
|
96
|
-
utterances:
|
|
97
|
-
repo: # <gh-username>/<repo>
|
|
98
|
-
issue_term: # < url | pathname | title | ...>
|
|
99
|
-
|
|
100
|
-
paginate: 10
|
|
101
|
-
|
|
102
|
-
# ------------ The following options are not recommended to be modified ------------------
|
|
103
|
-
|
|
104
|
-
kramdown:
|
|
105
|
-
syntax_highlighter: rouge
|
|
106
|
-
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
|
|
107
|
-
css_class: highlight
|
|
108
|
-
# default_lang: console
|
|
109
|
-
span:
|
|
110
|
-
line_numbers: false
|
|
111
|
-
block:
|
|
112
|
-
line_numbers: true
|
|
113
|
-
start_line: 1
|
|
114
|
-
|
|
115
|
-
collections:
|
|
116
|
-
tabs:
|
|
117
|
-
output: true
|
|
118
|
-
sort_by: order
|
|
119
|
-
|
|
120
|
-
defaults:
|
|
121
|
-
-
|
|
122
|
-
scope:
|
|
123
|
-
path: '' # An empty string here means all files in the project
|
|
124
|
-
type: posts
|
|
125
|
-
values:
|
|
126
|
-
layout: post
|
|
127
|
-
comments: true # Enable comments in posts.
|
|
128
|
-
toc: true # Display TOC column in posts.
|
|
129
|
-
# DO NOT modify the following parameter unless you are confident enough
|
|
130
|
-
# to update the code of all other post links in this project.
|
|
131
|
-
permalink: /posts/:title/
|
|
132
|
-
-
|
|
133
|
-
scope:
|
|
134
|
-
path: _drafts
|
|
135
|
-
values:
|
|
136
|
-
comments: false
|
|
137
|
-
-
|
|
138
|
-
scope:
|
|
139
|
-
path: ''
|
|
140
|
-
type: tabs # see `site.collections`
|
|
141
|
-
values:
|
|
142
|
-
layout: page
|
|
143
|
-
permalink: /:title/
|
|
144
|
-
|
|
145
|
-
sass:
|
|
146
|
-
style: compressed
|
|
147
|
-
|
|
148
|
-
compress_html:
|
|
149
|
-
clippings: all
|
|
150
|
-
comments: all
|
|
151
|
-
endings: all
|
|
152
|
-
profile: false
|
|
153
|
-
blanklines: false
|
|
154
|
-
ignore:
|
|
155
|
-
envs: [development]
|
|
156
|
-
|
|
157
|
-
exclude:
|
|
158
|
-
- '*.gem'
|
|
159
|
-
- '*.gemspec'
|
|
160
|
-
- tools
|
|
161
|
-
- docs
|
|
162
|
-
- README.md
|
|
163
|
-
- LICENSE
|
|
164
|
-
- gulpfile.js
|
|
165
|
-
- node_modules
|
|
166
|
-
- package*.json
|
|
167
|
-
|
|
168
|
-
jekyll-archives:
|
|
169
|
-
enabled: [categories, tags]
|
|
170
|
-
layouts:
|
|
171
|
-
category: category
|
|
172
|
-
tag: tag
|
|
173
|
-
permalinks:
|
|
174
|
-
tag: /tags/:name/
|
|
175
|
-
category: /categories/:name/
|
data/_data/contact.yml
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# The contact options.
|
|
2
|
-
|
|
3
|
-
-
|
|
4
|
-
type: github
|
|
5
|
-
icon: 'fab fa-github'
|
|
6
|
-
-
|
|
7
|
-
type: twitter
|
|
8
|
-
icon: 'fab fa-twitter'
|
|
9
|
-
-
|
|
10
|
-
type: email
|
|
11
|
-
icon: 'fas fa-envelope'
|
|
12
|
-
noblank: true # open link in current tab
|
|
13
|
-
-
|
|
14
|
-
type: rss
|
|
15
|
-
icon: 'fas fa-rss'
|
|
16
|
-
noblank: true
|
|
17
|
-
|
|
18
|
-
# Uncomment and complete the url below to enable more contact options
|
|
19
|
-
# -
|
|
20
|
-
# type: mastodon
|
|
21
|
-
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
|
|
22
|
-
# url: '' # Fill with your mastodon account page
|
|
23
|
-
# -
|
|
24
|
-
# type: linkedin
|
|
25
|
-
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
|
|
26
|
-
# url: '' # Fill with your Linkedin homepage
|
|
27
|
-
# -
|
|
28
|
-
# type: stack-overflow
|
|
29
|
-
# icon: 'fab fa-stack-overflow'
|
|
30
|
-
# url: '' # Fill with your stackoverflow homepage
|
data/_data/share.yml
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Sharing options at the bottom of the post.
|
|
2
|
-
# Icons from <https://fontawesome.com/>
|
|
3
|
-
|
|
4
|
-
platforms:
|
|
5
|
-
-
|
|
6
|
-
type: Twitter
|
|
7
|
-
icon: "fab fa-twitter"
|
|
8
|
-
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
|
|
9
|
-
-
|
|
10
|
-
type: Facebook
|
|
11
|
-
icon: "fab fa-facebook-square"
|
|
12
|
-
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
|
|
13
|
-
-
|
|
14
|
-
type: Telegram
|
|
15
|
-
icon: "fab fa-telegram"
|
|
16
|
-
link: "https://telegram.me/share?text=TITLE&url=URL"
|
|
17
|
-
|
|
18
|
-
# Uncomment below if you need to.
|
|
19
|
-
# -
|
|
20
|
-
# type: Linkedin
|
|
21
|
-
# icon: "fab fa-linkedin"
|
|
22
|
-
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
|
|
23
|
-
#
|
|
24
|
-
# -
|
|
25
|
-
# type: Weibo
|
|
26
|
-
# icon: "fab fa-weibo"
|
|
27
|
-
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
|
data/_includes/css-selector.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
CSS selector for site.
|
|
3
|
-
-->
|
|
4
|
-
|
|
5
|
-
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
|
6
|
-
|
|
7
|
-
{% if site.toc and page.toc %}
|
|
8
|
-
<link rel="stylesheet"
|
|
9
|
-
href="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css">
|
|
10
|
-
{% endif %}
|
|
11
|
-
|
|
12
|
-
{% if page.layout == 'page' or page.layout == 'post' %}
|
|
13
|
-
<!-- Manific Popup -->
|
|
14
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/magnific-popup.min.css">
|
|
15
|
-
{% endif %}
|
data/_includes/no-zero-date.html
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{% comment %}
|
|
2
|
-
Remove the zero padding from a month/day string
|
|
3
|
-
{% endcomment %}
|
|
4
|
-
|
|
5
|
-
{% assign ret = include.date_str %}
|
|
6
|
-
{% assign _first_chat = ret | slice: 0 %}
|
|
7
|
-
|
|
8
|
-
{% if _first_chat == '0' %}
|
|
9
|
-
{% assign _last_idx = ret.size | minus: 1 %}
|
|
10
|
-
{% assign ret = ret | slice: 1, _last_idx %}
|
|
11
|
-
{% endif %}
|
|
12
|
-
|
|
13
|
-
{{ ret | replace: ' 0', ' ' }}
|
data/_includes/timeago.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Date format snippet
|
|
3
|
-
See: ${JS_ROOT}/utils/timeago.js
|
|
4
|
-
-->
|
|
5
|
-
|
|
6
|
-
{% assign tooltip_df = site.data.locales[lang].date_format.tooltip %}
|
|
7
|
-
{% assign post_long_df = site.data.locales[lang].date_format.post.long %}
|
|
8
|
-
{% assign post_short_df = site.data.locales[lang].date_format.post.short %}
|
|
9
|
-
|
|
10
|
-
<em class="timeago{% if include.class %} {{ include.class }}{% endif %}"
|
|
11
|
-
date="{{ include.date }}"
|
|
12
|
-
{% if include.tooltip %}
|
|
13
|
-
data-toggle="tooltip"
|
|
14
|
-
data-placement="bottom"
|
|
15
|
-
title="{{ include.date | date: tooltip_df }}"
|
|
16
|
-
{% endif %}>
|
|
17
|
-
|
|
18
|
-
{%- assign this_year = site.time | date: "%Y" -%}
|
|
19
|
-
{%- assign post_year = include.date | date: "%Y" -%}
|
|
20
|
-
|
|
21
|
-
{%- if post_year == this_year -%}
|
|
22
|
-
{{ include.date | date: post_short_df }}
|
|
23
|
-
{%- else -%}
|
|
24
|
-
{{ include.date | date: post_long_df }}
|
|
25
|
-
{%- endif -%}
|
|
26
|
-
</em>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
#
|
|
3
|
-
# Check for changed posts
|
|
4
|
-
|
|
5
|
-
Jekyll::Hooks.register :posts, :post_init do |post|
|
|
6
|
-
|
|
7
|
-
commit_num = `git rev-list --count HEAD "#{ post.path }"`
|
|
8
|
-
|
|
9
|
-
if commit_num.to_i > 1
|
|
10
|
-
lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"`
|
|
11
|
-
post.data['last_modified_at'] = lastmod_date
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
end
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The syntax dark mode styles.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@mixin dark-syntax {
|
|
6
|
-
/* syntax highlight colors from https://raw.githubusercontent.com/jwarby/pygments-css/master/monokai.css */
|
|
7
|
-
.highlight pre { background-color: var(--highlight-bg-color); }
|
|
8
|
-
.highlight .hll { background-color: var(--highlight-bg-color); }
|
|
9
|
-
.highlight .c { color: #75715e; } /* Comment */
|
|
10
|
-
.highlight .err { color: #960050; background-color: #1e0010; } /* Error */
|
|
11
|
-
.highlight .k { color: #66d9ef; } /* Keyword */
|
|
12
|
-
.highlight .l { color: #ae81ff; } /* Literal */
|
|
13
|
-
.highlight .n { color: #f8f8f2; } /* Name */
|
|
14
|
-
.highlight .o { color: #f92672; } /* Operator */
|
|
15
|
-
.highlight .p { color: #f8f8f2; } /* Punctuation */
|
|
16
|
-
.highlight .cm { color: #75715e; } /* Comment.Multiline */
|
|
17
|
-
.highlight .cp { color: #75715e; } /* Comment.Preproc */
|
|
18
|
-
.highlight .c1 { color: #75715e; } /* Comment.Single */
|
|
19
|
-
.highlight .cs { color: #75715e; } /* Comment.Special */
|
|
20
|
-
.highlight .ge { color: inherit; font-style: italic; } /* Generic.Emph */
|
|
21
|
-
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
|
22
|
-
.highlight .kc { color: #66d9ef; } /* Keyword.Constant */
|
|
23
|
-
.highlight .kd { color: #66d9ef; } /* Keyword.Declaration */
|
|
24
|
-
.highlight .kn { color: #f92672; } /* Keyword.Namespace */
|
|
25
|
-
.highlight .kp { color: #66d9ef; } /* Keyword.Pseudo */
|
|
26
|
-
.highlight .kr { color: #66d9ef; } /* Keyword.Reserved */
|
|
27
|
-
.highlight .kt { color: #66d9ef; } /* Keyword.Type */
|
|
28
|
-
.highlight .ld { color: #e6db74; } /* Literal.Date */
|
|
29
|
-
.highlight .m { color: #ae81ff; } /* Literal.Number */
|
|
30
|
-
.highlight .s { color: #e6db74; } /* Literal.String */
|
|
31
|
-
.highlight .na { color: #a6e22e; } /* Name.Attribute */
|
|
32
|
-
.highlight .nb { color: #f8f8f2; } /* Name.Builtin */
|
|
33
|
-
.highlight .nc { color: #a6e22e; } /* Name.Class */
|
|
34
|
-
.highlight .no { color: #66d9ef; } /* Name.Constant */
|
|
35
|
-
.highlight .nd { color: #a6e22e; } /* Name.Decorator */
|
|
36
|
-
.highlight .ni { color: #f8f8f2; } /* Name.Entity */
|
|
37
|
-
.highlight .ne { color: #a6e22e; } /* Name.Exception */
|
|
38
|
-
.highlight .nf { color: #a6e22e; } /* Name.Function */
|
|
39
|
-
.highlight .nl { color: #f8f8f2; } /* Name.Label */
|
|
40
|
-
.highlight .nn { color: #f8f8f2; } /* Name.Namespace */
|
|
41
|
-
.highlight .nx { color: #a6e22e; } /* Name.Other */
|
|
42
|
-
.highlight .py { color: #f8f8f2; } /* Name.Property */
|
|
43
|
-
.highlight .nt { color: #f92672; } /* Name.Tag */
|
|
44
|
-
.highlight .nv { color: #f8f8f2; } /* Name.Variable */
|
|
45
|
-
.highlight .ow { color: #f92672; } /* Operator.Word */
|
|
46
|
-
.highlight .w { color: #f8f8f2; } /* Text.Whitespace */
|
|
47
|
-
.highlight .mf { color: #ae81ff; } /* Literal.Number.Float */
|
|
48
|
-
.highlight .mh { color: #ae81ff; } /* Literal.Number.Hex */
|
|
49
|
-
.highlight .mi { color: #ae81ff; } /* Literal.Number.Integer */
|
|
50
|
-
.highlight .mo { color: #ae81ff; } /* Literal.Number.Oct */
|
|
51
|
-
.highlight .sb { color: #e6db74; } /* Literal.String.Backtick */
|
|
52
|
-
.highlight .sc { color: #e6db74; } /* Literal.String.Char */
|
|
53
|
-
.highlight .sd { color: #e6db74; } /* Literal.String.Doc */
|
|
54
|
-
.highlight .s2 { color: #e6db74; } /* Literal.String.Double */
|
|
55
|
-
.highlight .se { color: #ae81ff; } /* Literal.String.Escape */
|
|
56
|
-
.highlight .sh { color: #e6db74; } /* Literal.String.Heredoc */
|
|
57
|
-
.highlight .si { color: #e6db74; } /* Literal.String.Interpol */
|
|
58
|
-
.highlight .sx { color: #e6db74; } /* Literal.String.Other */
|
|
59
|
-
.highlight .sr { color: #e6db74; } /* Literal.String.Regex */
|
|
60
|
-
.highlight .s1 { color: #e6db74; } /* Literal.String.Single */
|
|
61
|
-
.highlight .ss { color: #e6db74; } /* Literal.String.Symbol */
|
|
62
|
-
.highlight .bp { color: #f8f8f2; } /* Name.Builtin.Pseudo */
|
|
63
|
-
.highlight .vc { color: #f8f8f2; } /* Name.Variable.Class */
|
|
64
|
-
.highlight .vg { color: #f8f8f2; } /* Name.Variable.Global */
|
|
65
|
-
.highlight .vi { color: #f8f8f2; } /* Name.Variable.Instance */
|
|
66
|
-
.highlight .il { color: #ae81ff; } /* Literal.Number.Integer.Long */
|
|
67
|
-
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
|
|
68
|
-
.highlight .gd { color: #f92672; background-color: #561c08; } /* Generic.Deleted & Diff Deleted */
|
|
69
|
-
.highlight .gi { color: #a6e22e; background-color: #0b5858; } /* Generic.Inserted & Diff Inserted */
|
|
70
|
-
|
|
71
|
-
/* ----- custom styles ------ */
|
|
72
|
-
|
|
73
|
-
--highlight-bg-color: #252525;
|
|
74
|
-
--highlighter-rouge-color: #de6b18;
|
|
75
|
-
--highlight-lineno-color: #6c6c6d;
|
|
76
|
-
--inline-code-bg: #272822;
|
|
77
|
-
--code-header-text-color: #6a6a6a;
|
|
78
|
-
--code-header-muted-color: rgb(60 60 60);
|
|
79
|
-
--code-header-icon-color: rgb(86 86 86);
|
|
80
|
-
--clipboard-checked-color: #2bcc2b;
|
|
81
|
-
|
|
82
|
-
.highlight {
|
|
83
|
-
.gp { color: #818c96; }
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
pre { color: #bfbfbf; } /* override Bootstrap */
|
|
87
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The syntax light mode code snippet colors.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@mixin light-syntax {
|
|
6
|
-
/* see: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
|
|
7
|
-
.highlight .hll { background-color: #ffffcc; }
|
|
8
|
-
.highlight .c { color: #999988; font-style: italic; } /* Comment */
|
|
9
|
-
.highlight .err { color: #a61717; background-color: #e3d2d2; } /* Error */
|
|
10
|
-
.highlight .k { color: #000000; font-weight: bold; } /* Keyword */
|
|
11
|
-
.highlight .o { color: #000000; font-weight: bold; } /* Operator */
|
|
12
|
-
.highlight .cm { color: #999988; font-style: italic; } /* Comment.Multiline */
|
|
13
|
-
.highlight .cp { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Preproc */
|
|
14
|
-
.highlight .c1 { color: #999988; font-style: italic; } /* Comment.Single */
|
|
15
|
-
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Special */
|
|
16
|
-
.highlight .gd { color: #d01040; background-color: #ffdddd; } /* Generic.Deleted */
|
|
17
|
-
.highlight .ge { color: #000000; font-style: italic; } /* Generic.Emph */
|
|
18
|
-
.highlight .gr { color: #aa0000; } /* Generic.Error */
|
|
19
|
-
.highlight .gh { color: #999999; } /* Generic.Heading */
|
|
20
|
-
.highlight .gi { color: #008080; background-color: #ddffdd; } /* Generic.Inserted */
|
|
21
|
-
.highlight .go { color: #888888; } /* Generic.Output */
|
|
22
|
-
.highlight .gp { color: #555555; } /* Generic.Prompt */
|
|
23
|
-
.highlight .gs { font-weight: bold; } /* Generic.Strong */
|
|
24
|
-
.highlight .gu { color: #aaaaaa; } /* Generic.Subheading */
|
|
25
|
-
.highlight .gt { color: #aa0000; } /* Generic.Traceback */
|
|
26
|
-
.highlight .kc { color: #000000; font-weight: bold; } /* Keyword.Constant */
|
|
27
|
-
.highlight .kd { color: #000000; font-weight: bold; } /* Keyword.Declaration */
|
|
28
|
-
.highlight .kn { color: #000000; font-weight: bold; } /* Keyword.Namespace */
|
|
29
|
-
.highlight .kp { color: #000000; font-weight: bold; } /* Keyword.Pseudo */
|
|
30
|
-
.highlight .kr { color: #000000; font-weight: bold; } /* Keyword.Reserved */
|
|
31
|
-
.highlight .kt { color: #445588; font-weight: bold; } /* Keyword.Type */
|
|
32
|
-
.highlight .m { color: #009999; } /* Literal.Number */
|
|
33
|
-
.highlight .s { color: #d01040; } /* Literal.String */
|
|
34
|
-
.highlight .na { color: #008080; } /* Name.Attribute */
|
|
35
|
-
.highlight .nb { color: #0086b3; } /* Name.Builtin */
|
|
36
|
-
.highlight .nc { color: #445588; font-weight: bold; } /* Name.Class */
|
|
37
|
-
.highlight .no { color: #008080; } /* Name.Constant */
|
|
38
|
-
.highlight .nd { color: #3c5d5d; font-weight: bold; } /* Name.Decorator */
|
|
39
|
-
.highlight .ni { color: #800080; } /* Name.Entity */
|
|
40
|
-
.highlight .ne { color: #990000; font-weight: bold; } /* Name.Exception */
|
|
41
|
-
.highlight .nf { color: #990000; font-weight: bold; } /* Name.Function */
|
|
42
|
-
.highlight .nl { color: #990000; font-weight: bold; } /* Name.Label */
|
|
43
|
-
.highlight .nn { color: #555555; } /* Name.Namespace */
|
|
44
|
-
.highlight .nt { color: #000080; } /* Name.Tag */
|
|
45
|
-
.highlight .nv { color: #008080; } /* Name.Variable */
|
|
46
|
-
.highlight .ow { color: #000000; font-weight: bold; } /* Operator.Word */
|
|
47
|
-
.highlight .w { color: #bbbbbb; } /* Text.Whitespace */
|
|
48
|
-
.highlight .mf { color: #009999; } /* Literal.Number.Float */
|
|
49
|
-
.highlight .mh { color: #009999; } /* Literal.Number.Hex */
|
|
50
|
-
.highlight .mi { color: #009999; } /* Literal.Number.Integer */
|
|
51
|
-
.highlight .mo { color: #009999; } /* Literal.Number.Oct */
|
|
52
|
-
.highlight .sb { color: #d01040; } /* Literal.String.Backtick */
|
|
53
|
-
.highlight .sc { color: #d01040; } /* Literal.String.Char */
|
|
54
|
-
.highlight .sd { color: #d01040; } /* Literal.String.Doc */
|
|
55
|
-
.highlight .s2 { color: #d01040; } /* Literal.String.Double */
|
|
56
|
-
.highlight .se { color: #d01040; } /* Literal.String.Escape */
|
|
57
|
-
.highlight .sh { color: #d01040; } /* Literal.String.Heredoc */
|
|
58
|
-
.highlight .si { color: #d01040; } /* Literal.String.Interpol */
|
|
59
|
-
.highlight .sx { color: #d01040; } /* Literal.String.Other */
|
|
60
|
-
.highlight .sr { color: #009926; } /* Literal.String.Regex */
|
|
61
|
-
.highlight .s1 { color: #d01040; } /* Literal.String.Single */
|
|
62
|
-
.highlight .ss { color: #990073; } /* Literal.String.Symbol */
|
|
63
|
-
.highlight .bp { color: #999999; } /* Name.Builtin.Pseudo */
|
|
64
|
-
.highlight .vc { color: #008080; } /* Name.Variable.Class */
|
|
65
|
-
.highlight .vg { color: #008080; } /* Name.Variable.Global */
|
|
66
|
-
.highlight .vi { color: #008080; } /* Name.Variable.Instance */
|
|
67
|
-
.highlight .il { color: #009999; } /* Literal.Number.Integer.Long */
|
|
68
|
-
|
|
69
|
-
/* --- custom light colors --- */
|
|
70
|
-
--highlight-bg-color: #f7f7f7;
|
|
71
|
-
--highlighter-rouge-color: #2f2f2f;
|
|
72
|
-
--highlight-lineno-color: #c2c6cc;
|
|
73
|
-
--inline-code-bg: #f3f3f3;
|
|
74
|
-
--code-header-text-color: #a3a3b1;
|
|
75
|
-
--code-header-muted-color: #ebebeb;
|
|
76
|
-
--code-header-icon-color: #d1d1d1;
|
|
77
|
-
--clipboard-checked-color: #43c743;
|
|
78
|
-
|
|
79
|
-
} // light-syntax
|