Skip to content

Commit e491210

Browse files
authored
Merge pull request #555 from cmbuckley/jekyll-upgrade
Jekyll upgrade
2 parents 0facec3 + feb2606 commit e491210

37 files changed

+1060
-1063
lines changed

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'http://rubygems.org'
22
ruby "~> 3.3"
33

4-
gem 'jekyll', '~> 3.10.0'
4+
gem 'jekyll', '~> 4.4'
55

66
# liquid former stdlibs
77
gem 'base64'
@@ -16,7 +16,6 @@ group :jekyll_plugins do
1616
gem 'jekyll-redirect-from'
1717
gem 'jekyll-relative-links'
1818
gem 'jekyll-titles-from-headings'
19-
gem 'kramdown-parser-gfm'
2019
end
2120

2221
group :development, :test do

_ci/fingerprints.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ for data in "${files[@]}"; do
2020
echo "$id: $(md5sum "_site/$file" | cut -c1-8)" >> $fingerprints
2121
done
2222

23-
sed -i'' "s/fingerprints = '[^']*'/fingerprints = '$(grep -vF . $fingerprints | tr '\n' ',' | sed 's/,$//')'/" _includes/v.html
24-
2523
git add $fingerprints _includes/v.html

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ include:
2020

2121
exclude:
2222
- CNAME
23-
- Gemfile
2423
- LICENCE
2524
- LICENCE-CODE
2625
- README.md
@@ -29,7 +28,6 @@ exclude:
2928
- package.json
3029
- staticman.yml
3130
- vendor
32-
- node_modules
3331

3432
plugins:
3533
- jekyll-github-metadata

_data/fingerprints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ icons: 715715b9
33
maths: 5414f235
44
scripts: 5220ed99
55
search: b74b56ab
6-
style: 1fcbb8ed
6+
style: 45dfbcc2

_data/global/navigation.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

_data/global/navigation.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- title: Home
2+
url: /
3+
- title: CV
4+
url: /cv/
5+
- title: Contact
6+
url: /contact/
7+
- title: Blog
8+
url: /blog/
9+
- title: Interests
10+
url: /interests/
11+
- title: Projects
12+
url: /projects/

_data/global/social.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

_data/global/social.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
pgp: 2A57 C8E4 6506 FABA
2+
keybase: cmbuckley
3+
hackerone: cmbuckley
4+
github: cmbuckley
5+
linkedin: cmbuckley
6+
email: chris@cmbuckley.co.uk
7+
x: _cmbuckley
8+
facebook: cmbuckley
9+
fbid: 61201039
10+
instagram: c.m.buckley
11+
amazon: https://bux.re/amzn
12+
mastodon: cmbuckley@mastodon.social
13+
bsky: cmbuckley.co.uk

_includes/header.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,12 @@
77
</{{ tag }}>
88
<nav class="nav-collapse" aria-label="Menu">
99
<ul class="list--inline">
10-
{%- if site.data.global.navigation -%}
11-
{%- assign navigation = site.data.global.navigation -%}
12-
{%- else -%}
13-
{%- assign navigation = '' | split: ',' -%}
14-
15-
{%- capture nav_data -%}
16-
{%- include navigation.yml -%}
17-
{%- endcapture -%}
18-
19-
{%- assign nav_array = nav_data | split: ' - ' %}
20-
{%- for nav_item in nav_array -%}
21-
{%- if nav_item != '' -%}
22-
{%- assign nav_cleaned = nav_item | strip | replace: 'title: ', '' | replace: ' url: ', '' -%}
23-
{%- assign navigation = navigation | push: nav_cleaned -%}
24-
{%- endif -%}
25-
{%- endfor -%}
26-
{%- endif -%}
27-
2810
{%- if layout.nav_current or site.nav_current -%}
2911
{%- assign url_prefix = layout.nav_current | default: site.nav_current | prepend: '/' -%}
3012
{%- endif -%}
3113
{%- assign page_url = page.url | relative_url | prepend: url_prefix -%}
3214

33-
{%- for link in navigation -%}
15+
{%- for link in site.data.global.navigation -%}
3416
{%- assign current = false -%}
3517
{%- if link.url -%}
3618
{%- assign title = link.title -%}

_includes/navigation.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)