aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-02 00:45:36 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-02 00:45:36 +0100
commit1cd1f4a76e4c6554b546adb8247a112c6bc7d1f2 (patch)
treec18c63e0b230c5a012d01d12b8f9869d7d51bd6c
parent4bf5834c060277b93ee293aa3826763180346803 (diff)
downloadmitjafelicijan.com-1cd1f4a76e4c6554b546adb8247a112c6bc7d1f2.tar.gz
Added SEO plugin
-rw-r--r--Gemfile27
-rw-r--r--Gemfile.lock24
-rw-r--r--_config.yml7
-rw-r--r--_layouts/base.html3
-rw-r--r--curriculum-vitae.md12
5 files changed, 36 insertions, 37 deletions
diff --git a/Gemfile b/Gemfile
index ff2c342..191cd3b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,25 +1,16 @@
1source "https://rubygems.org" 1source "https://rubygems.org"
2# Hello! This is where you manage which Jekyll version is used to run. 2
3# When you want to use a different version, change it below, save the
4# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5#
6# bundle exec jekyll serve
7#
8# This will help ensure the proper Jekyll version is running.
9# Happy Jekylling!
10gem "jekyll", "~> 4.3.2" 3gem "jekyll", "~> 4.3.2"
11# This is the default theme for new Jekyll sites. You may change this to anything you like. 4
12gem "minima", "~> 2.5"
13# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14# uncomment the line below. To upgrade, run `bundle update github-pages`.
15# gem "github-pages", group: :jekyll_plugins
16# If you have any plugins, put them here!
17group :jekyll_plugins do 5group :jekyll_plugins do
18 gem "jekyll-feed", "~> 0.12" 6 gem "jekyll-feed", "~> 0.12"
7 gem "jekyll-minifier"
8 gem "jekyll-sitemap"
9 gem "jekyll-seo-tag"
19end 10end
20 11
21# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem 12# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data
22# and associated library. 13# gem and associated library.
23platforms :mingw, :x64_mingw, :mswin, :jruby do 14platforms :mingw, :x64_mingw, :mswin, :jruby do
24 gem "tzinfo", ">= 1", "< 3" 15 gem "tzinfo", ">= 1", "< 3"
25 gem "tzinfo-data" 16 gem "tzinfo-data"
@@ -28,6 +19,6 @@ end
28# Performance-booster for watching directories on Windows 19# Performance-booster for watching directories on Windows
29gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] 20gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30 21
31# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem 22# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of
32# do not have a Java counterpart. 23# the gem do not have a Java counterpart.
33gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] 24gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
diff --git a/Gemfile.lock b/Gemfile.lock
index edc3499..f1a3322 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -5,13 +5,16 @@ GEM
5 public_suffix (>= 2.0.2, < 6.0) 5 public_suffix (>= 2.0.2, < 6.0)
6 colorator (1.1.0) 6 colorator (1.1.0)
7 concurrent-ruby (1.2.2) 7 concurrent-ruby (1.2.2)
8 cssminify2 (2.0.1)
8 em-websocket (0.5.3) 9 em-websocket (0.5.3)
9 eventmachine (>= 0.12.9) 10 eventmachine (>= 0.12.9)
10 http_parser.rb (~> 0) 11 http_parser.rb (~> 0)
11 eventmachine (1.2.7) 12 eventmachine (1.2.7)
13 execjs (2.9.1)
12 ffi (1.16.3) 14 ffi (1.16.3)
13 forwardable-extended (2.6.0) 15 forwardable-extended (2.6.0)
14 google-protobuf (3.24.4-x86_64-linux) 16 google-protobuf (3.24.4-x86_64-linux)
17 htmlcompressor (0.4.0)
15 http_parser.rb (0.8.0) 18 http_parser.rb (0.8.0)
16 i18n (1.14.1) 19 i18n (1.14.1)
17 concurrent-ruby (~> 1.0) 20 concurrent-ruby (~> 1.0)
@@ -33,12 +36,23 @@ GEM
33 webrick (~> 1.7) 36 webrick (~> 1.7)
34 jekyll-feed (0.17.0) 37 jekyll-feed (0.17.0)
35 jekyll (>= 3.7, < 5.0) 38 jekyll (>= 3.7, < 5.0)
39 jekyll-minifier (0.1.10)
40 cssminify2 (~> 2.0)
41 htmlcompressor (~> 0.4)
42 jekyll (>= 3.5)
43 json-minify (~> 0.0.3)
44 uglifier (~> 4.1)
36 jekyll-sass-converter (3.0.0) 45 jekyll-sass-converter (3.0.0)
37 sass-embedded (~> 1.54) 46 sass-embedded (~> 1.54)
38 jekyll-seo-tag (2.8.0) 47 jekyll-seo-tag (2.8.0)
39 jekyll (>= 3.8, < 5.0) 48 jekyll (>= 3.8, < 5.0)
49 jekyll-sitemap (1.4.0)
50 jekyll (>= 3.7, < 5.0)
40 jekyll-watch (2.2.1) 51 jekyll-watch (2.2.1)
41 listen (~> 3.0) 52 listen (~> 3.0)
53 json (2.6.3)
54 json-minify (0.0.3)
55 json (> 0)
42 kramdown (2.4.0) 56 kramdown (2.4.0)
43 rexml 57 rexml
44 kramdown-parser-gfm (1.1.0) 58 kramdown-parser-gfm (1.1.0)
@@ -48,10 +62,6 @@ GEM
48 rb-fsevent (~> 0.10, >= 0.10.3) 62 rb-fsevent (~> 0.10, >= 0.10.3)
49 rb-inotify (~> 0.9, >= 0.9.10) 63 rb-inotify (~> 0.9, >= 0.9.10)
50 mercenary (0.4.0) 64 mercenary (0.4.0)
51 minima (2.5.1)
52 jekyll (>= 3.5, < 5.0)
53 jekyll-feed (~> 0.9)
54 jekyll-seo-tag (~> 2.1)
55 pathutil (0.16.2) 65 pathutil (0.16.2)
56 forwardable-extended (~> 2.6) 66 forwardable-extended (~> 2.6)
57 public_suffix (5.0.3) 67 public_suffix (5.0.3)
@@ -65,6 +75,8 @@ GEM
65 google-protobuf (~> 3.23) 75 google-protobuf (~> 3.23)
66 terminal-table (3.0.2) 76 terminal-table (3.0.2)
67 unicode-display_width (>= 1.1.1, < 3) 77 unicode-display_width (>= 1.1.1, < 3)
78 uglifier (4.2.0)
79 execjs (>= 0.3.0, < 3)
68 unicode-display_width (2.5.0) 80 unicode-display_width (2.5.0)
69 webrick (1.8.1) 81 webrick (1.8.1)
70 82
@@ -75,7 +87,9 @@ DEPENDENCIES
75 http_parser.rb (~> 0.6.0) 87 http_parser.rb (~> 0.6.0)
76 jekyll (~> 4.3.2) 88 jekyll (~> 4.3.2)
77 jekyll-feed (~> 0.12) 89 jekyll-feed (~> 0.12)
78 minima (~> 2.5) 90 jekyll-minifier
91 jekyll-seo-tag
92 jekyll-sitemap
79 tzinfo (>= 1, < 3) 93 tzinfo (>= 1, < 3)
80 tzinfo-data 94 tzinfo-data
81 wdm (~> 0.1.1) 95 wdm (~> 0.1.1)
diff --git a/_config.yml b/_config.yml
index 0764b33..fb2d976 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,3 +13,10 @@ highlighter: rouge
13 13
14plugins: 14plugins:
15 - jekyll-feed 15 - jekyll-feed
16 - jekyll-minifier
17 - jekyll-sitemap
18 - jekyll-seo-tag
19
20jekyll-minifier:
21 uglifier_args:
22 harmony: true
diff --git a/_layouts/base.html b/_layouts/base.html
index f02354e..aee5b90 100644
--- a/_layouts/base.html
+++ b/_layouts/base.html
@@ -11,8 +11,7 @@
11 {% else %}{{ site.title | escape }}{% endif %} 11 {% else %}{{ site.title | escape }}{% endif %}
12 </title> 12 </title>
13 13
14 <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}"> 14 {% seo title=false %}
15 <meta name="author" content="{{ site.author }}">
16 15
17 <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="/feed.xml"> 16 <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="/feed.xml">
18 17
diff --git a/curriculum-vitae.md b/curriculum-vitae.md
index 2235bcf..90382ce 100644
--- a/curriculum-vitae.md
+++ b/curriculum-vitae.md
@@ -6,17 +6,6 @@ layout: page
6type: page 6type: page
7--- 7---
8 8
9<script>
10 window.addEventListener('load', async () => {
11 const cvImage = document.querySelector('.cv-picture img');
12 if (cvImage) {
13 setInterval(() => {
14 cvImage.style.transform = cvImage.style.transform === 'scaleX(1)' ? 'scaleX(-1)' : 'scaleX(1)';
15 }, 1000);
16 }
17 });
18</script>
19
20**Mitja Felicijan** 9**Mitja Felicijan**
21 10
22Email me at *[m@mitjafelicijan.com](mailto:m@mitjafelicijan.com?subject=Website+CV+Contact)* 11Email me at *[m@mitjafelicijan.com](mailto:m@mitjafelicijan.com?subject=Website+CV+Contact)*
@@ -81,4 +70,3 @@ Email me at *[m@mitjafelicijan.com](mailto:m@mitjafelicijan.com?subject=Website+
81- Development and maintenance of the project. 70- Development and maintenance of the project.
82- Code revision, testing and output. 71- Code revision, testing and output.
83- Work on the enhancement suggested by the customers and fixes the bugs reported. 72- Work on the enhancement suggested by the customers and fixes the bugs reported.
84