Merge upstream
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
{% if site.url-pretty %}
|
||||
•
|
||||
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
|
||||
<a href="{{ '/' | absolute_url }}">{{ site.url-pretty }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
{% if site.url-pretty %}
|
||||
•
|
||||
<span class="author-site">
|
||||
<a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
|
||||
<a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '/' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
{% if site.google_analytics %}
|
||||
<!-- Google Analytics -->
|
||||
{% unless site.gtag %}
|
||||
<div id="bj-ganalytics-deprecated-msg" style="position: fixed; background: #b90404; bottom: 0; width: 100%; z-index: 10000; color: #f0f0f0; text-align: center; padding: 0.5rem;">
|
||||
<div title="Close" onclick="$(this).parent().remove()" style="position: absolute; right: 5px; top: 0; font-size: 1.5em; line-height: 1; cursor: pointer;">×</div>
|
||||
<div style="max-width: 800px; margin: auto; font-size: 1.1em;">
|
||||
This website is using outdated Google Analytics
|
||||
<details style="font-size: 0.8em;">
|
||||
<summary>More info</summary>
|
||||
As of July 2023, Google's Universal Analytics is going away and being replaced by Google Analytics 4. This website is still using the old Universal Analytics. In order to remove this message, the website owner must remove the <code>google_analytics</code> property in the website's config file, and optionally replace it with the new <code>gtag</code> property.
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
{% endunless %}
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
{% capture title %}
|
||||
{% capture pagetitle %}
|
||||
{%- if page.share-title -%}
|
||||
{{ page.share-title | strip_html | xml_escape }}
|
||||
{%- elsif page.title -%}
|
||||
@@ -12,6 +12,14 @@
|
||||
{%- endif -%}
|
||||
{% endcapture %}
|
||||
|
||||
{% capture title %}
|
||||
{%- if site.title and site.title-on-all-pages and (site.title != pagetitle) -%}
|
||||
{{ pagetitle }} | {{ site.title }}
|
||||
{%- else -%}
|
||||
{{ pagetitle }}
|
||||
{%- endif -%}
|
||||
{% endcapture %}
|
||||
|
||||
{% capture description %}
|
||||
{%- if page.share-description -%}
|
||||
{{ page.share-description | strip_html | xml_escape }}
|
||||
@@ -25,8 +33,15 @@
|
||||
|
||||
<title>{{ title }}</title>
|
||||
|
||||
{% if site.author %}
|
||||
<meta name="author" content="{{ site.author }}">
|
||||
{% capture author %}
|
||||
{%- if page.author -%}
|
||||
{{ page.author | strip_html }}
|
||||
{%- elsif site.author -%}
|
||||
{{ site.author }}
|
||||
{%- endif -%}
|
||||
{% endcapture %}
|
||||
{% if author != "" %}
|
||||
<meta name="author" content="{{ author }}">
|
||||
{% endif %}
|
||||
|
||||
<meta name="description" content="{{ description }}">
|
||||
@@ -47,6 +62,7 @@
|
||||
{% include gtm_head.html %}
|
||||
{% include google_analytics.html %}
|
||||
{% include cloudflare_analytics.html %}
|
||||
{% include mathjax.html %}
|
||||
|
||||
{% if layout.common-ext-css %}
|
||||
{% for css in layout.common-ext-css %}
|
||||
@@ -112,7 +128,9 @@
|
||||
|
||||
{% if page.id %}
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:article:author" content="{{ site.author }}">
|
||||
{% if author != "" %}
|
||||
<meta property="og:article:author" content="{{ author }}">
|
||||
{% endif %}
|
||||
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
||||
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
||||
@@ -143,6 +161,11 @@
|
||||
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
|
||||
{% endif %}
|
||||
|
||||
{% assign favicon_exists = site.static_files | where: "path", "/favicon.ico" | size %}
|
||||
{% if favicon_exists == 1 %}
|
||||
<link rel="icon" href="{{ '/favicon.ico' | relative_url }}" />
|
||||
{% endif %}
|
||||
|
||||
{% if page.head-extra %}
|
||||
{% for file in page.head-extra %}
|
||||
{% include {{ file }} %}
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
<!-- TODO this file has become a mess, refactor it -->
|
||||
|
||||
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||
|
||||
{% if page.cover-img or page.title %}
|
||||
|
||||
{% if page.cover-img %}
|
||||
<div id="header-big-imgs" data-num-img={% if page.cover-img.first %}{{ page.cover-img.size }}{% else %}1{% endif %}
|
||||
{% for bigimg in page.cover-img %}
|
||||
{% assign imgnum = forloop.index %}
|
||||
{% for imginfo in bigimg %}
|
||||
{% if imginfo[0] %}
|
||||
{% if imginfo[0] %}
|
||||
data-img-src-{{ imgnum }}="{{ imginfo[0] | absolute_url }}"
|
||||
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
||||
{% else %}
|
||||
@@ -21,8 +17,8 @@
|
||||
{% endif %}
|
||||
|
||||
<header class="header-section {% if page.cover-img %}has-img{% endif %}">
|
||||
{% if page.cover-img %}
|
||||
<div class="big-img intro-header">
|
||||
<div class="intro-header {% if page.cover-img %} big-img {% endif %}">
|
||||
{% if page.cover-img or page.title %}
|
||||
<div class="container-md">
|
||||
<div class="row">
|
||||
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||
@@ -36,8 +32,11 @@
|
||||
<h2 class="{{ include.type }}-subheading">{{ page.subtitle | strip_html }}</h2>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if include.type == "post" %}
|
||||
|
||||
{% if include.type == "post" %}
|
||||
{% if page.author %}
|
||||
By <strong>{{ page.author | strip_html }}</strong><br>
|
||||
{% endif%}
|
||||
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||
{% if page.last-updated %}
|
||||
<span class="post-meta">
|
||||
@@ -53,44 +52,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span class='img-desc'></span>
|
||||
{% endif %}
|
||||
{% if page.cover-img %}<span class='img-desc'></span>{% endif %}
|
||||
</div>
|
||||
|
||||
{% if page.header-extra %}
|
||||
{% for file in page.header-extra %}
|
||||
{% include {{ file }} %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<div class="intro-header no-img">
|
||||
<div class="container-md">
|
||||
<div class="row">
|
||||
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||
<div class="{{ include.type }}-heading">
|
||||
<h1>{% if page.title %}{{ page.title | strip_html }}{% else %}<br/>{% endif %}</h1>
|
||||
{% if page.subtitle %}
|
||||
{% if include.type == "page" %}
|
||||
<hr class="small">
|
||||
<span class="{{ include.type }}-subheading">{{ page.subtitle | strip_html }}</span>
|
||||
{% else %}
|
||||
<h2 class="{{ include.type }}-subheading">{{ page.subtitle | strip_html }}</h2>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if include.type == "post" %}
|
||||
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||
{% if page.last-updated %}
|
||||
<span class="post-meta">
|
||||
<span class="d-none d-md-inline middot">·</span>
|
||||
Last updated {{ page.last-updated | date: date_format }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if page.readtime %}
|
||||
{% include readtime.html %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
{% else %}
|
||||
<div class="intro-header"></div>
|
||||
{% endif %}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<nav class="navbar navbar-expand-xl navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% else %}top-nav-regular{% endif %}">
|
||||
|
||||
{%- if site.title-img -%}
|
||||
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img | relative_url}}"/></a>
|
||||
<a class="navbar-brand navbar-brand-logo" href="{{ '/' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img | relative_url}}"/></a>
|
||||
{%- elsif site.title -%}
|
||||
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
||||
<a class="navbar-brand" href="{{ '/' | absolute_url }}">{{ site.title }}</a>
|
||||
{%- endif -%}
|
||||
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -50,7 +50,7 @@
|
||||
{% if site.avatar and page.show-avatar != false %}
|
||||
<div class="avatar-container">
|
||||
<div class="avatar-img-border">
|
||||
<a href="{{ '' | absolute_url }}">
|
||||
<a href="{{ '/' | absolute_url }}">
|
||||
<img alt="Navigation bar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -8,30 +8,10 @@
|
||||
|
||||
<script src="https://unpkg.com/simple-jekyll-search@latest/dest/simple-jekyll-search.min.js"></script>
|
||||
<script>
|
||||
var searchjson = '[ \
|
||||
{% for post in site.posts %} \
|
||||
{ \
|
||||
"title" : "{% if post.title != "" %}{{ post.title | strip_html | escape }}{% else %}{{ post.excerpt | strip_html | escape | strip }}{%endif%}", \
|
||||
"category" : "{{ post.tags | join: \', \' }}", \
|
||||
"url" : "{{ site.baseurl }}{{ post.url }}", \
|
||||
"date" : "{{ post.date | date: "%B %e, %Y" | default: "January 1, 1970" }}" \
|
||||
}, \
|
||||
{% endfor %} \
|
||||
{% for page in site.html_pages %}{% if page.title != "{title}" and page.title != "404 - Page not found" %} \
|
||||
{ \
|
||||
"title" : "{% if page.title != "" %}{{ page.title | strip_html | escape }}{% else %}{{ page.excerpt | strip_html | escape | strip }}{% endif %}", \
|
||||
"category" : "{% if page.tags %}{{ page.tags | join: \', \' }}{% else %}page{% endif %}", \
|
||||
"url" : "{{ site.baseurl }}{{ page.url }}", \
|
||||
"date" : "{{ page.date | date: '%B %e, %Y' | default: "January 1, 1970" }}" \
|
||||
}{% unless forloop.last %},{% endunless %} \
|
||||
{% endif %}{% endfor %} \
|
||||
]';
|
||||
searchjson = JSON.parse(searchjson);
|
||||
|
||||
var sjs = SimpleJekyllSearch({
|
||||
SimpleJekyllSearch({
|
||||
searchInput: document.getElementById('nav-search-input'),
|
||||
resultsContainer: document.getElementById('search-results-container'),
|
||||
json: searchjson
|
||||
json: '{{ site.baseurl }}/assets/data/searchcorpus.json'
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{% if site.social-network-links %}
|
||||
<ul class="list-inline text-center footer-links">
|
||||
|
||||
{%- if site.social-network-links.rss and site.rss-description -%}
|
||||
{%- for network in site.social-network-links -%}
|
||||
|
||||
{%- if network[0] == "rss" and network[1] and site.rss-description -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="{{ '/feed.xml' | relative_url }}" title="RSS">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
@@ -10,11 +13,11 @@
|
||||
<span class="sr-only">RSS</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.email -%}
|
||||
{%- if network[0] == "email" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="mailto:{{ site.social-network-links.email }}" title="Email me">
|
||||
<a href="mailto:{{ network[1] }}" title="Email me">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
|
||||
@@ -22,11 +25,11 @@
|
||||
<span class="sr-only">Email me</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.calendly -%}
|
||||
{%- if network[0] == "calendly" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://calendly.com/{{ site.social-network-links.calendly }}" title="Schedule a meeting with me">
|
||||
<a href="https://calendly.com/{{ network[1] }}" title="Schedule a meeting with me">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fas fa-calendar-check fa-stack-1x fa-inverse"></i>
|
||||
@@ -34,11 +37,11 @@
|
||||
<span class="sr-only">Schedule a meeting with me</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.facebook -%}
|
||||
{%- if network[0] == "facebook" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.facebook.com/{{ site.social-network-links.facebook }}" title="Facebook">
|
||||
<a href="https://www.facebook.com/{{ network[1] }}" title="Facebook">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-facebook fa-stack-1x fa-inverse"></i>
|
||||
@@ -46,11 +49,11 @@
|
||||
<span class="sr-only">Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.telegram -%}
|
||||
{%- if network[0] == "telegram" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://t.me/{{ site.social-network-links.telegram }}" title="Telegram">
|
||||
<a href="https://t.me/{{ network[1] }}" title="Telegram">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-telegram-plane fa-stack-1x fa-inverse"></i>
|
||||
@@ -58,11 +61,23 @@
|
||||
<span class="sr-only">Telegram</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.github -%}
|
||||
{%- if network[0] == "whatsapp" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub">
|
||||
<a href="https://wa.me/{{ network[1] }}" title="Whatsapp">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-whatsapp fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<span class="sr-only">Whatsapp</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "github" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://github.com/{{ network[1] }}" title="GitHub">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
|
||||
@@ -70,23 +85,39 @@
|
||||
<span class="sr-only">GitHub</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.twitter -%}
|
||||
{%- if network[0] == "gitlab" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://twitter.com/{{ site.social-network-links.twitter }}" title="Twitter">
|
||||
<a href="https://gitlab.com/{{ network[1] }}" title="GitLab">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
|
||||
<i class="fab fa-gitlab fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<span class="sr-only">Twitter</span>
|
||||
<span class="sr-only">GitLab</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.reddit -%}
|
||||
{%- if network[0] == "twitter" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://reddit.com/u/{{ site.social-network-links.reddit }}" title="Reddit">
|
||||
<a href="https://twitter.com/{{ network[1] }}" title="X (Twitter)">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-x-twitter fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<span class="sr-only">X (Twitter)</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "reddit" -%}
|
||||
{% assign reddit_start = network[1] | split: "/" | first -%}
|
||||
{% unless reddit_start == 'r' or reddit_start == 'u' -%}
|
||||
{% assign reddit_url_prefix = 'u/' -%}
|
||||
{% endunless -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://reddit.com/{{ reddit_url_prefix }}{{ network[1] }}" title="Reddit">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-reddit fa-stack-1x fa-inverse"></i>
|
||||
@@ -94,11 +125,11 @@
|
||||
<span class="sr-only">Reddit</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.linkedin -%}
|
||||
{%- if network[0] == "linkedin" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://linkedin.com/in/{{ site.social-network-links.linkedin }}" title="LinkedIn">
|
||||
<a href="https://linkedin.com/in/{{ network[1] }}" title="LinkedIn">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
|
||||
@@ -106,11 +137,11 @@
|
||||
<span class="sr-only">LinkedIn</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.xing -%}
|
||||
{%- if network[0] == "xing" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.xing.com/profile/{{ site.social-network-links.xing }}" title="Xing">
|
||||
<a href="https://www.xing.com/profile/{{ network[1] }}" title="Xing">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-xing fa-stack-1x fa-inverse"></i>
|
||||
@@ -118,11 +149,11 @@
|
||||
<span class="sr-only">Xing</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.stackoverflow -%}
|
||||
{%- if network[0] == "stackoverflow" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://stackoverflow.com/users/{{ site.social-network-links.stackoverflow }}" title="StackOverflow">
|
||||
<a href="https://stackoverflow.com/users/{{ network[1] }}" title="StackOverflow">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-stack-overflow fa-stack-1x fa-inverse"></i>
|
||||
@@ -130,11 +161,11 @@
|
||||
<span class="sr-only">StackOverflow</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.snapchat -%}
|
||||
{%- if network[0] == "snapchat" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.snapchat.com/add/{{ site.social-network-links.snapchat }}" title="Snapchat">
|
||||
<a href="https://www.snapchat.com/add/{{ network[1] }}" title="Snapchat">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-snapchat-ghost fa-stack-1x fa-inverse"></i>
|
||||
@@ -142,11 +173,11 @@
|
||||
<span class="sr-only">Snapchat</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.instagram -%}
|
||||
{%- if network[0] == "instagram" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.instagram.com/{{ site.social-network-links.instagram }}" title="Instagram">
|
||||
<a href="https://www.instagram.com/{{ network[1] }}" title="Instagram">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-instagram fa-stack-1x fa-inverse"></i>
|
||||
@@ -154,11 +185,11 @@
|
||||
<span class="sr-only">Instagram</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.youtube -%}
|
||||
{%- if network[0] == "youtube" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.youtube.com/{{ site.social-network-links.youtube }}" title="YouTube">
|
||||
<a href="https://www.youtube.com/{{ network[1] }}" title="YouTube">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-youtube fa-stack-1x fa-inverse"></i>
|
||||
@@ -166,11 +197,11 @@
|
||||
<span class="sr-only">YouTube</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.spotify -%}
|
||||
{%- if network[0] == "spotify" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://open.spotify.com/user/{{ site.social-network-links.spotify }}" title="Spotify">
|
||||
<a href="https://open.spotify.com/user/{{ network[1] }}" title="Spotify">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-spotify fa-stack-1x fa-inverse"></i>
|
||||
@@ -178,11 +209,11 @@
|
||||
<span class="sr-only">Spotify</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.telephone -%}
|
||||
{%- if network[0] == "telephone" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="tel:{{ site.social-network-links.telephone }}" title="Phone">
|
||||
<a href="tel:{{ network[1] }}" title="Phone">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fas fa-phone fa-stack-1x fa-inverse"></i>
|
||||
@@ -190,11 +221,11 @@
|
||||
<span class="sr-only">Phone</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.steam -%}
|
||||
{%- if network[0] == "steam" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://steamcommunity.com/id/{{ site.social-network-links.steam }}" title="Steam">
|
||||
<a href="https://steamcommunity.com/id/{{ network[1] }}" title="Steam">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-steam fa-stack-1x fa-inverse"></i>
|
||||
@@ -202,11 +233,11 @@
|
||||
<span class="sr-only">Steam</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.twitch -%}
|
||||
{%- if network[0] == "twitch" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.twitch.tv/{{ site.social-network-links.twitch }}" title="Twitch">
|
||||
<a href="https://www.twitch.tv/{{ network[1] }}" title="Twitch">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-twitch fa-stack-1x fa-inverse"></i>
|
||||
@@ -214,11 +245,11 @@
|
||||
<span class="sr-only">Twitch</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.yelp -%}
|
||||
{%- if network[0] == "yelp" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://{{ site.social-network-links.yelp }}.yelp.com" title="Yelp">
|
||||
<a href="https://yelp.com/{{ network[1] }}" title="Yelp">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-yelp fa-stack-1x fa-inverse"></i>
|
||||
@@ -226,11 +257,11 @@
|
||||
<span class="sr-only">Yelp</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.mastodon -%}
|
||||
{%- if network[0] == "mastodon" -%}
|
||||
<li class="list-inline-item">
|
||||
<a rel="me" href="https://{{ site.social-network-links.mastodon }}" title="Mastodon">
|
||||
<a rel="me" href="https://{{ network[1] }}" title="Mastodon">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-mastodon fa-stack-1x fa-inverse"></i>
|
||||
@@ -238,11 +269,23 @@
|
||||
<span class="sr-only">Mastodon</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.ORCID -%}
|
||||
{%- if network[0] == "bluesky" -%}
|
||||
<li class="list-inline-item">
|
||||
<a rel="me" href="https://bsky.app/profile/{{ network[1] }}" title="Bluesky">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fas fa-square fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<span class="sr-only">Bluesky</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "ORCID" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://orcid.org/{{ site.social-network-links.ORCID }}" title="ORCID">
|
||||
<a href="https://orcid.org/{{ network[1] }}" title="ORCID">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
|
||||
@@ -250,11 +293,11 @@
|
||||
<span class="sr-only">ORCID</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.google-scholar -%}
|
||||
{%- if network[0] == "google-scholar" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://scholar.google.com/{{ site.social-network-links.google-scholar }}" title="Google Scholar">
|
||||
<a href="https://scholar.google.com/citations?user={{ network[1] }}" title="Google Scholar">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
|
||||
@@ -262,11 +305,11 @@
|
||||
<span class="sr-only">Google Scholar</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.patreon -%}
|
||||
{%- if network[0] == "patreon" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://patreon.com/{{ site.social-network-links.patreon }}" title="Patreon">
|
||||
<a href="https://patreon.com/{{ network[1] }}" title="Patreon">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-patreon fa-stack-1x fa-inverse"></i>
|
||||
@@ -274,11 +317,11 @@
|
||||
<span class="sr-only">Patreon</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.medium -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "medium" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://medium.com/@{{ site.social-network-links.medium }}" title="Medium">
|
||||
<a href="https://medium.com/@{{ network[1] }}" title="Medium">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-medium fa-stack-1x fa-inverse"></i>
|
||||
@@ -286,11 +329,11 @@
|
||||
<span class="sr-only">Medium</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.itchio -%}
|
||||
{%- if network[0] == "itchio" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://{{ site.social-network-links.itchio }}.itch.io/" title="Itchio">
|
||||
<a href="https://{{ network[1] }}.itch.io/" title="Itchio">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-itch-io fa-stack-1x fa-inverse"></i>
|
||||
@@ -298,11 +341,15 @@
|
||||
<span class="sr-only">Itchio</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.discord -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "discord" -%}
|
||||
{% assign discord_start = network[1] | split: "/" | first -%}
|
||||
{% unless discord_start == 'users' or discord_start == 'invite' -%}
|
||||
{% assign discord_url_prefix = 'invite/' -%}
|
||||
{% endunless -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://discord.com/{{ site.social-network-links.discord }}" title="Discord">
|
||||
<a href="https://discord.com/{{discord_url_prefix}}{{network[1]}}" title="Discord">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-discord fa-stack-1x fa-inverse"></i>
|
||||
@@ -310,11 +357,11 @@
|
||||
<span class="sr-only">Discord</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.kaggle -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "kaggle" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.kaggle.com/{{ site.social-network-links.kaggle }}" title="Kaggle">
|
||||
<a href="https://www.kaggle.com/{{ network[1] }}" title="Kaggle">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-kaggle fa-stack-1x fa-inverse"></i>
|
||||
@@ -322,11 +369,11 @@
|
||||
<span class="sr-only">Kaggle</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.social-network-links.hackerrank -%}
|
||||
{%- if network[0] == "hackerrank" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://www.hackerrank.com/{{ site.social-network-links.hackerrank }}" title="Hackerrank">
|
||||
<a href="https://www.hackerrank.com/{{ network[1] }}" title="Hackerrank">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-hackerrank fa-stack-1x fa-inverse"></i>
|
||||
@@ -334,6 +381,21 @@
|
||||
<span class="sr-only">Hackerrank</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if network[0] == "untappd" -%}
|
||||
<li class="list-inline-item">
|
||||
<a href="https://untappd.com/user/{{ network[1] }}" title="Untappd">
|
||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fab fa-untappd fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
<span class="sr-only">Untappd</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
|
||||
{%- endfor -%}
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
|
||||
{% if site.share-links-active.twitter %}
|
||||
<a href="https://twitter.com/intent/tweet?text={{ page.title | strip_html | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
||||
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
||||
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
|
||||
<span class="sr-only">Twitter</span>
|
||||
class="btn btn-social-icon btn-twitter" title="Share on X (Twitter)">
|
||||
<span class="fab fa-fw fa-x-twitter" aria-hidden="true"></span>
|
||||
<span class="sr-only">X (Twitter)</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user