aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-06-07 03:05:09 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-06-07 10:49:00 +0200
commit3a207d9496872d20579c864bbce913022f30d73c (patch)
treebf5f273b3a5746a91b14a99a5d5428509b1fc0a1
parentworkflows/ci: use .ruby-version for setup-ruby action (diff)
downloadjekyll-theme-jekyll4.tar.gz
jekyll-theme-jekyll4.zip
upgrade to Jekyll 4jekyll4
The jekyll-github-metadata bug has finally been fixed.
-rw-r--r--.gitignore1
-rw-r--r--Gemfile8
-rw-r--r--Gemfile.lock66
-rw-r--r--_config.yml3
-rw-r--r--_posts/2021-04-10-collapsible.md2
-rw-r--r--index.md8
6 files changed, 43 insertions, 45 deletions
diff --git a/.gitignore b/.gitignore
index 921f829..218813a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+/.jekyll-cache/
/_site/
/.wget/
diff --git a/Gemfile b/Gemfile
index 2dd10aa..81d0077 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,12 +1,6 @@
source 'https://rubygems.org'
-gem 'jekyll', '~> 3'
+gem 'jekyll', '~> 4'
gem 'jekyll-github-metadata'
gem 'jekyll-paginate'
gem 'jekyll-tidy'
-
-# Jekyll 3.9.0 requires this as an explicit dependency:
-gem 'kramdown-parser-gfm'
-
-# Jekyll 3.9.2 requires this as an explicit dependency for Ruby 3:
-gem 'webrick'
diff --git a/Gemfile.lock b/Gemfile.lock
index 7e3f0f8..63b6793 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,44 +1,49 @@
GEM
remote: https://rubygems.org/
specs:
- addressable (2.8.1)
+ addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
- concurrent-ruby (1.1.10)
+ concurrent-ruby (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
- faraday (2.6.0)
+ faraday (2.7.5)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
- faraday-net_http (3.0.1)
+ faraday-net_http (3.0.2)
ffi (1.15.5)
forwardable-extended (2.6.0)
+ google-protobuf (3.23.2-arm64-darwin)
+ google-protobuf (3.23.2-x86_64-linux)
htmlbeautifier (1.4.2)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
- i18n (0.9.5)
+ i18n (1.14.1)
concurrent-ruby (~> 1.0)
- jekyll (3.9.2)
+ jekyll (4.3.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
- i18n (~> 0.7)
- jekyll-sass-converter (~> 1.0)
+ i18n (~> 1.0)
+ jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
- kramdown (>= 1.17, < 3)
+ kramdown (~> 2.3, >= 2.3.1)
+ kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
- mercenary (~> 0.3.3)
+ mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
- rouge (>= 1.7, < 4)
+ rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
- jekyll-github-metadata (2.15.0)
+ terminal-table (>= 1.8, < 4.0)
+ webrick (~> 1.7)
+ jekyll-github-metadata (2.16.0)
jekyll (>= 3.4, < 5.0)
- octokit (~> 4.0, != 4.4.0)
+ octokit (>= 4, < 7, != 4.4.0)
jekyll-paginate (1.1.0)
- jekyll-sass-converter (1.5.2)
- sass (~> 3.4)
+ jekyll-sass-converter (3.0.0)
+ sass-embedded (~> 1.54)
jekyll-tidy (0.2.2)
htmlbeautifier
htmlcompressor
@@ -49,44 +54,45 @@ GEM
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
- liquid (4.0.3)
- listen (3.7.1)
+ liquid (4.0.4)
+ listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
- mercenary (0.3.6)
- octokit (4.25.1)
+ mercenary (0.4.0)
+ octokit (6.1.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
- public_suffix (5.0.0)
+ public_suffix (5.0.1)
+ rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
- rouge (3.30.0)
+ rouge (4.1.2)
ruby2_keywords (0.0.5)
safe_yaml (1.0.5)
- sass (3.7.4)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
+ sass-embedded (1.62.1)
+ google-protobuf (~> 3.21)
+ rake (>= 10.0.0)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
- webrick (1.7.0)
+ terminal-table (3.0.2)
+ unicode-display_width (>= 1.1.1, < 3)
+ unicode-display_width (2.4.2)
+ webrick (1.8.1)
PLATFORMS
+ arm64-darwin-21
x86_64-linux
DEPENDENCIES
- jekyll (~> 3)
+ jekyll (~> 4)
jekyll-github-metadata
jekyll-paginate
jekyll-tidy
- kramdown-parser-gfm
- webrick
BUNDLED WITH
2.3.23
diff --git a/_config.yml b/_config.yml
index 579c128..64cac30 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,11 +7,8 @@ show_drafts: true
strict_front_matter: true
exclude:
- - Gemfile
- - Gemfile.lock
- Makefile
- README.md
- - vendor/
defaults:
- scope:
diff --git a/_posts/2021-04-10-collapsible.md b/_posts/2021-04-10-collapsible.md
index cfa6be8..1907142 100644
--- a/_posts/2021-04-10-collapsible.md
+++ b/_posts/2021-04-10-collapsible.md
@@ -15,7 +15,7 @@ snippets:
Snippets are defined in exactly the same way as in the [other post].
Just set a front matter value to make them collapsible, and voilĂ !
-[other post]: {{ site.baseurl }}{% post_url 2021-04-09-snippets %}
+[other post]: {% post_url 2021-04-09-snippets %}
{% include jekyll-theme/snippets/section.html section_id='hello' %}
diff --git a/index.md b/index.md
index 24f9146..6cdd755 100644
--- a/index.md
+++ b/index.md
@@ -20,18 +20,18 @@ navbar:
<h4 class="list-group-item-heading">categories</h4>
<p class="list-group-item-text">List of post categories (includes links to each category's page)</p>
</a>
- <a href="{{ site.baseurl }}{% post_url 2021-04-09-snippets %}" class="list-group-item">
+ <a href="{% post_url 2021-04-09-snippets %}" class="list-group-item">
<h4 class="list-group-item-heading">code snippets</h4>
<p class="list-group-item-text">Easily include code snippets in your posts</p>
</a>
- <a href="{{ site.baseurl }}{% post_url 2021-04-10-collapsible %}" class="list-group-item">
+ <a href="{% post_url 2021-04-10-collapsible %}" class="list-group-item">
<h4 class="list-group-item-heading">collapsible snippets</h4>
</a>
- <a href="{{ site.baseurl }}{% post_url 2022-03-21-shell %}" class="list-group-item">
+ <a href="{% post_url 2022-03-21-shell %}" class="list-group-item">
<h4 class="list-group-item-heading">shell commands</h4>
<p class="list-group-item-text">Clearly separate shell commands and their outputs from one another</p>
</a>
- <a href="{{ site.baseurl }}{% post_url 2021-04-08-mathjax %}" class="list-group-item">
+ <a href="{% post_url 2021-04-08-mathjax %}" class="list-group-item">
<h4 class="list-group-item-heading">typesetting math</h4>
</a>
</div>