File tree 5 files changed +11
-76
lines changed
5 files changed +11
-76
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,17 @@ group :jekyll_plugins do
5
5
gem 'jekyll-diagrams'
6
6
gem 'jekyll-email-protect'
7
7
gem 'jekyll-feed'
8
- gem 'jekyll-github-metadata'
9
8
gem 'jekyll-imagemagick'
9
+ gem 'jekyll-minifier'
10
10
gem 'jekyll-paginate-v2'
11
11
gem 'jekyll-scholar'
12
12
gem 'jekyll-sitemap'
13
13
gem 'jekyll-target-blank'
14
14
gem 'jekyll-twitter-plugin'
15
15
gem 'jemoji'
16
+ gem 'mini_racer'
16
17
gem 'unicode_utils'
17
18
gem 'webrick'
18
- gem 'htmlcompressor'
19
- gem 'htmlbeautifier'
20
19
end
21
20
group :other_plugins do
22
21
gem 'httparty'
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ plugins:
156
156
- jekyll-diagrams
157
157
- jekyll-email-protect
158
158
- jekyll-feed
159
- - jekyll-github-metadata
160
159
- jekyll-imagemagick
160
+ - jekyll-minifier
161
161
- jekyll-paginate-v2
162
162
- jekyll/scholar
163
163
- jekyll-sitemap
@@ -171,27 +171,15 @@ defaults:
171
171
path : " assets/**/*.*"
172
172
values :
173
173
sitemap : false
174
- # Extras
175
- github : [metadata]
176
174
177
175
# -----------------------------------------------------------------------------
178
- # Jekyll optimization
176
+ # Jekyll Minifier
179
177
# -----------------------------------------------------------------------------
180
178
181
- # HTML remove comments (<!-- .... -->)
182
- remove_HTML_comments : false
183
-
184
- # HTML beautifier (_plugins/beautify.rb).
185
- # Source: https://github.com/threedaymonk/htmlbeautifier
186
- beautify : false # This function has conflict with the code snippets, they can be displayed incorrectly
187
-
188
- # HTML minify (_plugins/minify.rb).
189
- # Source: https://www.ffbit.com/blog/2021/03/17/html-minification-in-jekyll.html
190
- minify : false
191
-
192
- # CSS/SASS minify
193
- sass :
194
- style : compressed
179
+ jekyll-minifier :
180
+ exclude : ['robots.txt']
181
+ uglifier_args :
182
+ harmony : true
195
183
196
184
# -----------------------------------------------------------------------------
197
185
# Jekyll Archives
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 91
91
fi
92
92
git checkout -b $DEPLOY_BRANCH
93
93
94
+ # Export JEKYLL_ENV=production
95
+ export JEKYLL_ENV=production
96
+
94
97
# Build site
95
98
bundle exec jekyll build
96
99
You can’t perform that action at this time.
0 commit comments