Skip to content

Commit 2fd8f92

Browse files
committed
Update Jekyll and fix the theme
We want to be up to date. So I updated Jekyll to the latest version. [1] Lately, we have been favoring GitHub Actions over the built-in GitHub Pages. I also switched the theme from the remote version to the version installed from the gem. This forced us to make a few configuration changes. We had to add a few gems that were previously loaded via GitHub Pages. Additionally, there were deprecation warnings related to Sass gem. [2] This in turn made me have to add `jekyll-sass-converter` gem [3] in a specific version. After these changes, everything works. However, there is definitely space for optimization. [1]: https://rubygems.org/gems/jekyll [2]: mmistakes/minimal-mistakes#4054 [3]: jekyll/jekyll-sass-converter#145 (comment)
1 parent f313c2f commit 2fd8f92

File tree

3 files changed

+41
-183
lines changed

3 files changed

+41
-183
lines changed

Gemfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
source 'https://rubygems.org'
44

5-
gem 'github-pages', group: :jekyll_plugins
65
gem 'html-proofer'
6+
gem 'jekyll', '~> 4.3.2'
77
gem 'jekyll-include-cache'
88
# gem 'jekyll-polyglot'
99
gem 'jekyll-pwa-workbox'
10+
gem 'jekyll-redirect-from'
1011
gem 'jekyll-remote-theme'
12+
gem 'jekyll-sass-converter', '~> 2.2'
13+
gem 'liquid'
14+
gem 'minimal-mistakes-jekyll'
1115
gem 'webrick'

Gemfile.lock

+35-179
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
Ascii85 (1.1.0)
5-
activesupport (7.0.8)
6-
concurrent-ruby (~> 1.0, >= 1.0.2)
7-
i18n (>= 1.6, < 2)
8-
minitest (>= 5.1)
9-
tzinfo (~> 2.0)
105
addressable (2.8.5)
116
public_suffix (>= 2.0.2, < 6.0)
127
afm (0.2.2)
@@ -16,90 +11,27 @@ GEM
1611
io-event (~> 1.1)
1712
timers (~> 4.1)
1813
base64 (0.1.1)
19-
coffee-script (2.4.1)
20-
coffee-script-source
21-
execjs
22-
coffee-script-source (1.11.1)
2314
colorator (1.1.0)
24-
commonmarker (0.23.10)
2515
concurrent-ruby (1.2.2)
2616
console (1.23.2)
2717
fiber-annotation
2818
fiber-local
29-
dnsruby (1.70.0)
30-
simpleidn (~> 0.2.1)
3119
em-websocket (0.5.3)
3220
eventmachine (>= 0.12.9)
3321
http_parser.rb (~> 0)
3422
ethon (0.16.0)
3523
ffi (>= 1.15.0)
3624
eventmachine (1.2.7)
37-
execjs (2.9.0)
3825
faraday (2.7.11)
3926
base64
4027
faraday-net_http (>= 2.0, < 3.1)
4128
ruby2_keywords (>= 0.0.4)
4229
faraday-net_http (3.0.2)
43-
ffi (1.15.5)
30+
ffi (1.16.3)
4431
fiber-annotation (0.2.0)
4532
fiber-local (1.0.0)
4633
forwardable-extended (2.6.0)
47-
gemoji (3.0.1)
48-
github-pages (228)
49-
github-pages-health-check (= 1.17.9)
50-
jekyll (= 3.9.3)
51-
jekyll-avatar (= 0.7.0)
52-
jekyll-coffeescript (= 1.1.1)
53-
jekyll-commonmark-ghpages (= 0.4.0)
54-
jekyll-default-layout (= 0.1.4)
55-
jekyll-feed (= 0.15.1)
56-
jekyll-gist (= 1.5.0)
57-
jekyll-github-metadata (= 2.13.0)
58-
jekyll-include-cache (= 0.2.1)
59-
jekyll-mentions (= 1.6.0)
60-
jekyll-optional-front-matter (= 0.3.2)
61-
jekyll-paginate (= 1.1.0)
62-
jekyll-readme-index (= 0.3.0)
63-
jekyll-redirect-from (= 0.16.0)
64-
jekyll-relative-links (= 0.6.1)
65-
jekyll-remote-theme (= 0.4.3)
66-
jekyll-sass-converter (= 1.5.2)
67-
jekyll-seo-tag (= 2.8.0)
68-
jekyll-sitemap (= 1.4.0)
69-
jekyll-swiss (= 1.0.0)
70-
jekyll-theme-architect (= 0.2.0)
71-
jekyll-theme-cayman (= 0.2.0)
72-
jekyll-theme-dinky (= 0.2.0)
73-
jekyll-theme-hacker (= 0.2.0)
74-
jekyll-theme-leap-day (= 0.2.0)
75-
jekyll-theme-merlot (= 0.2.0)
76-
jekyll-theme-midnight (= 0.2.0)
77-
jekyll-theme-minimal (= 0.2.0)
78-
jekyll-theme-modernist (= 0.2.0)
79-
jekyll-theme-primer (= 0.6.0)
80-
jekyll-theme-slate (= 0.2.0)
81-
jekyll-theme-tactile (= 0.2.0)
82-
jekyll-theme-time-machine (= 0.2.0)
83-
jekyll-titles-from-headings (= 0.5.3)
84-
jemoji (= 0.12.0)
85-
kramdown (= 2.3.2)
86-
kramdown-parser-gfm (= 1.1.0)
87-
liquid (= 4.0.4)
88-
mercenary (~> 0.3)
89-
minima (= 2.5.1)
90-
nokogiri (>= 1.13.6, < 2.0)
91-
rouge (= 3.26.0)
92-
terminal-table (~> 1.4)
93-
github-pages-health-check (1.17.9)
94-
addressable (~> 2.3)
95-
dnsruby (~> 1.60)
96-
octokit (~> 4.0)
97-
public_suffix (>= 3.0, < 5.0)
98-
typhoeus (~> 1.3)
9934
hashery (2.1.2)
100-
html-pipeline (2.14.3)
101-
activesupport (>= 2)
102-
nokogiri (>= 1.4)
10335
html-proofer (5.0.8)
10436
addressable (~> 2.3)
10537
async (~> 2.1)
@@ -113,130 +45,60 @@ GEM
11345
i18n (1.14.1)
11446
concurrent-ruby (~> 1.0)
11547
io-event (1.3.2)
116-
jekyll (3.9.3)
48+
jekyll (4.3.2)
11749
addressable (~> 2.4)
11850
colorator (~> 1.0)
11951
em-websocket (~> 0.5)
120-
i18n (>= 0.7, < 2)
121-
jekyll-sass-converter (~> 1.0)
52+
i18n (~> 1.0)
53+
jekyll-sass-converter (>= 2.0, < 4.0)
12254
jekyll-watch (~> 2.0)
123-
kramdown (>= 1.17, < 3)
55+
kramdown (~> 2.3, >= 2.3.1)
56+
kramdown-parser-gfm (~> 1.0)
12457
liquid (~> 4.0)
125-
mercenary (~> 0.3.3)
58+
mercenary (>= 0.3.6, < 0.5)
12659
pathutil (~> 0.9)
127-
rouge (>= 1.7, < 4)
60+
rouge (>= 3.0, < 5.0)
12861
safe_yaml (~> 1.0)
129-
jekyll-avatar (0.7.0)
130-
jekyll (>= 3.0, < 5.0)
131-
jekyll-coffeescript (1.1.1)
132-
coffee-script (~> 2.2)
133-
coffee-script-source (~> 1.11.1)
134-
jekyll-commonmark (1.4.0)
135-
commonmarker (~> 0.22)
136-
jekyll-commonmark-ghpages (0.4.0)
137-
commonmarker (~> 0.23.7)
138-
jekyll (~> 3.9.0)
139-
jekyll-commonmark (~> 1.4.0)
140-
rouge (>= 2.0, < 5.0)
141-
jekyll-default-layout (0.1.4)
142-
jekyll (~> 3.0)
143-
jekyll-feed (0.15.1)
62+
terminal-table (>= 1.8, < 4.0)
63+
webrick (~> 1.7)
64+
jekyll-feed (0.17.0)
14465
jekyll (>= 3.7, < 5.0)
14566
jekyll-gist (1.5.0)
14667
octokit (~> 4.2)
147-
jekyll-github-metadata (2.13.0)
148-
jekyll (>= 3.4, < 5.0)
149-
octokit (~> 4.0, != 4.4.0)
15068
jekyll-include-cache (0.2.1)
15169
jekyll (>= 3.7, < 5.0)
152-
jekyll-mentions (1.6.0)
153-
html-pipeline (~> 2.3)
154-
jekyll (>= 3.7, < 5.0)
155-
jekyll-optional-front-matter (0.3.2)
156-
jekyll (>= 3.0, < 5.0)
15770
jekyll-paginate (1.1.0)
15871
jekyll-pwa-workbox (5.1.41)
159-
jekyll-readme-index (0.3.0)
160-
jekyll (>= 3.0, < 5.0)
16172
jekyll-redirect-from (0.16.0)
16273
jekyll (>= 3.3, < 5.0)
163-
jekyll-relative-links (0.6.1)
164-
jekyll (>= 3.3, < 5.0)
16574
jekyll-remote-theme (0.4.3)
16675
addressable (~> 2.0)
16776
jekyll (>= 3.5, < 5.0)
16877
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
16978
rubyzip (>= 1.3.0, < 3.0)
170-
jekyll-sass-converter (1.5.2)
171-
sass (~> 3.4)
172-
jekyll-seo-tag (2.8.0)
173-
jekyll (>= 3.8, < 5.0)
79+
jekyll-sass-converter (2.2.0)
80+
sassc (> 2.0.1, < 3.0)
17481
jekyll-sitemap (1.4.0)
17582
jekyll (>= 3.7, < 5.0)
176-
jekyll-swiss (1.0.0)
177-
jekyll-theme-architect (0.2.0)
178-
jekyll (> 3.5, < 5.0)
179-
jekyll-seo-tag (~> 2.0)
180-
jekyll-theme-cayman (0.2.0)
181-
jekyll (> 3.5, < 5.0)
182-
jekyll-seo-tag (~> 2.0)
183-
jekyll-theme-dinky (0.2.0)
184-
jekyll (> 3.5, < 5.0)
185-
jekyll-seo-tag (~> 2.0)
186-
jekyll-theme-hacker (0.2.0)
187-
jekyll (> 3.5, < 5.0)
188-
jekyll-seo-tag (~> 2.0)
189-
jekyll-theme-leap-day (0.2.0)
190-
jekyll (> 3.5, < 5.0)
191-
jekyll-seo-tag (~> 2.0)
192-
jekyll-theme-merlot (0.2.0)
193-
jekyll (> 3.5, < 5.0)
194-
jekyll-seo-tag (~> 2.0)
195-
jekyll-theme-midnight (0.2.0)
196-
jekyll (> 3.5, < 5.0)
197-
jekyll-seo-tag (~> 2.0)
198-
jekyll-theme-minimal (0.2.0)
199-
jekyll (> 3.5, < 5.0)
200-
jekyll-seo-tag (~> 2.0)
201-
jekyll-theme-modernist (0.2.0)
202-
jekyll (> 3.5, < 5.0)
203-
jekyll-seo-tag (~> 2.0)
204-
jekyll-theme-primer (0.6.0)
205-
jekyll (> 3.5, < 5.0)
206-
jekyll-github-metadata (~> 2.9)
207-
jekyll-seo-tag (~> 2.0)
208-
jekyll-theme-slate (0.2.0)
209-
jekyll (> 3.5, < 5.0)
210-
jekyll-seo-tag (~> 2.0)
211-
jekyll-theme-tactile (0.2.0)
212-
jekyll (> 3.5, < 5.0)
213-
jekyll-seo-tag (~> 2.0)
214-
jekyll-theme-time-machine (0.2.0)
215-
jekyll (> 3.5, < 5.0)
216-
jekyll-seo-tag (~> 2.0)
217-
jekyll-titles-from-headings (0.5.3)
218-
jekyll (>= 3.3, < 5.0)
21983
jekyll-watch (2.2.1)
22084
listen (~> 3.0)
221-
jemoji (0.12.0)
222-
gemoji (~> 3.0)
223-
html-pipeline (~> 2.2)
224-
jekyll (>= 3.0, < 5.0)
225-
kramdown (2.3.2)
85+
kramdown (2.4.0)
22686
rexml
22787
kramdown-parser-gfm (1.1.0)
22888
kramdown (~> 2.0)
22989
liquid (4.0.4)
23090
listen (3.8.0)
23191
rb-fsevent (~> 0.10, >= 0.10.3)
23292
rb-inotify (~> 0.9, >= 0.9.10)
233-
mercenary (0.3.6)
93+
mercenary (0.4.0)
23494
mini_portile2 (2.8.4)
235-
minima (2.5.1)
236-
jekyll (>= 3.5, < 5.0)
237-
jekyll-feed (~> 0.9)
238-
jekyll-seo-tag (~> 2.1)
239-
minitest (5.20.0)
95+
minimal-mistakes-jekyll (4.24.0)
96+
jekyll (>= 3.7, < 5.0)
97+
jekyll-feed (~> 0.1)
98+
jekyll-gist (~> 1.5)
99+
jekyll-include-cache (~> 0.1)
100+
jekyll-paginate (~> 1.1)
101+
jekyll-sitemap (~> 1.3)
240102
nokogiri (1.15.4)
241103
mini_portile2 (~> 2.8.2)
242104
racc (~> 1.4)
@@ -253,54 +115,48 @@ GEM
253115
hashery (~> 2.0)
254116
ruby-rc4
255117
ttfunk
256-
public_suffix (4.0.7)
118+
public_suffix (5.0.3)
257119
racc (1.7.1)
258120
rainbow (3.1.1)
259121
rb-fsevent (0.11.2)
260122
rb-inotify (0.10.1)
261123
ffi (~> 1.0)
262124
rexml (3.2.6)
263-
rouge (3.26.0)
125+
rouge (4.1.3)
264126
ruby-rc4 (0.1.5)
265127
ruby2_keywords (0.0.5)
266128
rubyzip (2.3.2)
267129
safe_yaml (1.0.5)
268-
sass (3.7.4)
269-
sass-listen (~> 4.0.0)
270-
sass-listen (4.0.0)
271-
rb-fsevent (~> 0.9, >= 0.9.4)
272-
rb-inotify (~> 0.9, >= 0.9.7)
130+
sassc (2.4.0)
131+
ffi (~> 1.9)
273132
sawyer (0.9.2)
274133
addressable (>= 2.3.5)
275134
faraday (>= 0.17.3, < 3)
276-
simpleidn (0.2.1)
277-
unf (~> 0.1.4)
278-
terminal-table (1.8.0)
279-
unicode-display_width (~> 1.1, >= 1.1.1)
135+
terminal-table (3.0.2)
136+
unicode-display_width (>= 1.1.1, < 3)
280137
timers (4.3.5)
281138
ttfunk (1.7.0)
282139
typhoeus (1.4.0)
283140
ethon (>= 0.9.0)
284-
tzinfo (2.0.6)
285-
concurrent-ruby (~> 1.0)
286-
unf (0.1.4)
287-
unf_ext
288-
unf_ext (0.0.8.2)
289-
unicode-display_width (1.8.0)
141+
unicode-display_width (2.5.0)
290142
webrick (1.8.1)
291143
yell (2.2.2)
292-
zeitwerk (2.6.11)
144+
zeitwerk (2.6.12)
293145

294146
PLATFORMS
295147
ruby
296148
x86_64-linux
297149

298150
DEPENDENCIES
299-
github-pages
300151
html-proofer
152+
jekyll (~> 4.3.2)
301153
jekyll-include-cache
302154
jekyll-pwa-workbox
155+
jekyll-redirect-from
303156
jekyll-remote-theme
157+
jekyll-sass-converter (~> 2.2)
158+
liquid
159+
minimal-mistakes-jekyll
304160
webrick
305161

306162
BUNDLED WITH

_config.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ repository: fractalsoft/blog.fractalsoft.org
44
url: https://blog.fractalsoft.org
55

66
# Theme
7-
remote_theme: mmistakes/minimal-mistakes
8-
# theme: minimal-mistakes-jekyll
7+
theme: minimal-mistakes-jekyll
98

109
# Meta head
1110
description: Fractal Soft blogs about Ruby on Rails, Ember.js, Backbone.js, React.js and maybe Elixir. Technical blog will be full of web development and the developer community.
@@ -23,7 +22,6 @@ permalink: /:categories/:year/:month/:title/
2322

2423
# Plugins settings
2524
plugins:
26-
- jekyll-compress-html
2725
- jekyll-feed
2826
- jekyll-gist
2927
- jekyll-include-cache

0 commit comments

Comments
 (0)