From 19630888e673d53afb384c98ec19b1531b6f7141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferhat=20Suat=20Erdo=C4=9Fan?= <30902468+ekofi@users.noreply.github.com> Date: Fri, 19 May 2023 23:46:10 +0300 Subject: [PATCH] updates --- Gemfile.lock | 19 ++-- _config.yml | 18 ++-- _includes/body/nav.html | 101 ++++++++++++++++----- _includes/components/social-list-item.html | 60 ++++-------- _includes/components/social.html | 54 +++++++++-- _includes/pro/resume/work.html | 7 +- _sass/pro/_dark-mode.scss | 33 +++++-- 7 files changed, 186 insertions(+), 106 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b586541..1fff443 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,10 +13,10 @@ GEM execjs coffee-script-source (1.11.1) colorator (1.1.0) - commonmarker (0.23.8) + commonmarker (0.23.9) concurrent-ruby (1.2.2) - dnsruby (1.61.9) - simpleidn (~> 0.1) + dnsruby (1.70.0) + simpleidn (~> 0.2.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) @@ -86,7 +86,7 @@ GEM activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.8.0) - i18n (1.12.0) + i18n (1.13.0) concurrent-ruby (~> 1.0) jekyll (3.9.3) addressable (~> 2.4) @@ -212,7 +212,7 @@ GEM jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.18.0) - nokogiri (1.14.2-arm64-darwin) + nokogiri (1.15.1-x64-mingw-ucrt) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) @@ -245,21 +245,26 @@ GEM ethon (>= 0.9.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) + tzinfo-data (1.2023.3) + tzinfo (>= 1.0.0) unf (0.1.4) unf_ext unf_ext (0.0.8.2) unicode-display_width (1.8.0) + wdm (0.1.1) webrick (1.8.1) PLATFORMS - arm64-darwin-22 + x64-mingw-ucrt DEPENDENCIES github-pages jekyll (~> 3.8) jekyll-compose jekyll-include-cache + tzinfo-data + wdm webrick BUNDLED WITH - 2.4.9 + 2.4.10 diff --git a/_config.yml b/_config.yml index 9173995..c59e62e 100644 --- a/_config.yml +++ b/_config.yml @@ -34,19 +34,19 @@ keywords: [] # A (square) logo for your site. # If provided, it will be shown at the top of the sidebar. # It also used by the `jekyll-seo-tag` plugin. -logo: 'assets/icons_new/jakob_transparent_white_150px_round.png' -logo_dark: 'assets/icons_new/jakob_transparent_black_150px_round.png' -logo_light: 'assets/icons_new/jakob_transparent_white_150px_round.png' +logo: "assets/icons_new/jakob_transparent_white_150px_round.png" +logo_dark: "assets/icons_new/jakob_transparent_black_150px_round.png" +logo_light: "assets/icons_new/jakob_transparent_white_150px_round.png" email: jakob.gabriel5@googlemail.com # Analytics -g4: 'G-18VGL8XXHX' +g4: "G-18VGL8XXHX" # This should be the same author as first entry in `_data/authors.yml`. author: # Used by `jekyll-feed`: name: Jakob Gabriel - email: 'mailto:jakob.gabriel5@googlemail.com' + email: "mailto:jakob.gabriel5@googlemail.com" linkedin: jakob-gabriel xing: Jakob_Gabriel4 github: jakobgabriel @@ -98,7 +98,7 @@ legal: copyright: © 2022. All rights reserved. # Format of the permalinks -permalink: '/blog/:categories/:year-:month-:day-:title/' +permalink: "/blog/:categories/:year-:month-:day-:title/" # Pagination configuration (used by the `blog` layout) paginate: 10 @@ -187,7 +187,7 @@ font_code: Fira Code, Menlo, Monaco, Consolas, monospace; kramdown: math_engine: mathjax math_engine_opts: {} - footnote_backlink: '↩︎' + footnote_backlink: "↩︎" # 3rd Party Integrations # ---------------------------------------------------------------------------------------- @@ -333,7 +333,7 @@ exclude: - ./#jekyll-theme-hydejack/.git - .jekyll-cache - .sass-cache - - '*.toml' + - "*.toml" - vendor - Gemfile - Gemfile.lock @@ -404,7 +404,7 @@ titles_from_headings: collections: true compress_html: - comments: [''] + comments: [""] clippings: all endings: all ignore: diff --git a/_includes/body/nav.html b/_includes/body/nav.html index 4d382d4..355ebc5 100644 --- a/_includes/body/nav.html +++ b/_includes/body/nav.html @@ -1,25 +1,53 @@ -{{ site.data.strings.navigation | default:"Navigation" }}{{ - site.data.strings.colon | default:":" }} +{{ site.data.strings.navigation | default:"Navigation" }}{{ + site.data.strings.colon | default:":" }} \ No newline at end of file + diff --git a/_includes/components/social-list-item.html b/_includes/components/social-list-item.html index 7c9f1d1..f8c1323 100644 --- a/_includes/components/social-list-item.html +++ b/_includes/components/social-list-item.html @@ -1,43 +1,21 @@ -{% assign platform = include.platform | downcase %} -{% assign username = include.username %} - -{% if username.size > 0 %} -{% assign = data_social = site.data.social[platform] | default:site.data_social[platform] %} - -{% assign name = data_social.name | default:include.platform %} -{% assign icon = data_social.icon | default:'icon-link' %} -{% assign app = data_social.append %} -{% assign prep = data_social.prepend %} - -{% unless data_social %} -{% if platform == "email" %} -{% assign name = "Email" %} -{% assign icon = "icon-mail" %} -{% assign prep = "mailto:" %} -{% elsif platform == "twitter" %} -{% assign name = "Twitter" %} -{% assign icon = "icon-twitter" %} -{% assign prep = "https://twitter.com/" %} -{% elsif platform == "github" %} -{% assign name = "GitHub" %} -{% assign icon = "icon-github" %} -{% assign prep = "https://github.com/" %} -{% elsif platform == "linkedin" %} -{% assign name = "LinkedIn" %} -{% assign icon = "icon-linkedin" %} -{% assign prep = "https://www.linkedin.com/in/" %} -{% elsif platform == "xing" %} -{% assign name = "Xing" %} -{% assign icon = "icon-xing" %} -{% assign prep = "https://www.xing.com/profile/" %} -{% endif %} -{% endunless %} - -{% if username contains "//" or username contains "mailto:" %} -{% assign url = username %} -{% else %} -{% assign url = username | prepend:prep | append:app %} -{% endif %} +{% assign platform = include.platform | downcase %} {% assign username = +include.username %} {% if username.size > 0 %} {% assign = data_social = +site.data.social[platform] | default:site.data_social[platform] %} {% assign +name = data_social.name | default:include.platform %} {% assign icon = +data_social.icon | default:'icon-link' %} {% assign app = data_social.append %} +{% assign prep = data_social.prepend %} {% unless data_social %} {% if platform +== "email" %} {% assign name = "Email" %} {% assign icon = "icon-mail" %} {% +assign prep = "mailto:" %} {% elsif platform == "twitter" %} {% assign name = +"Twitter" %} {% assign icon = "icon-twitter" %} {% assign prep = +"https://twitter.com/" %} {% elsif platform == "github" %} {% assign name = +"GitHub" %} {% assign icon = "icon-github" %} {% assign prep = +"https://github.com/" %} {% elsif platform == "linkedin" %} {% assign name = +"LinkedIn" %} {% assign icon = "icon-linkedin" %} {% assign prep = +"https://www.linkedin.com/in/" %} {% elsif platform == "xing" %} {% assign name += "Xing" %} {% assign icon = "icon-xing" %} {% assign prep = +"https://www.xing.com/profile/" %} {% endif %} {% endunless %} {% if username +contains "//" or username contains "mailto:" %} {% assign url = username %} {% +else %} {% assign url = username | prepend:prep | append:app %} {% endif %}
  • @@ -45,4 +23,4 @@ {{ name }}
  • -{% endif %} \ No newline at end of file +{% endif %} diff --git a/_includes/components/social.html b/_includes/components/social.html index a544275..c356097 100644 --- a/_includes/components/social.html +++ b/_includes/components/social.html @@ -1,21 +1,55 @@ -{{ site.data.strings.social | default:"Social" }}{{ site.data.strings.colon }} +{{ site.data.strings.social | default:"Social" }}{{ site.data.strings.colon + }} \ No newline at end of file + diff --git a/_includes/pro/resume/work.html b/_includes/pro/resume/work.html index 1702ed1..2cd622a 100644 --- a/_includes/pro/resume/work.html +++ b/_includes/pro/resume/work.html @@ -29,16 +29,13 @@

    {% endif %}

    -