-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jakobgabriel/bug-fixes
Bug fixes
- Loading branch information
Showing
7 changed files
with
186 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
|
||
# 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:[email protected]' | ||
email: "mailto:[email protected]" | ||
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,26 @@ | ||
{% 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 %} | ||
|
||
<li> | ||
<a href="{{ url }}" title="{{ name }}" class="no-mark-external"> | ||
<span class="{{ icon }}"></span> | ||
<span class="sr-only">{{ name }}</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.