benimal-mistakes-jekyll 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +1095 -0
- data/LICENSE.txt +63 -0
- data/README.md +245 -0
- data/_data/navigation.yml +12 -0
- data/_data/ui-text.yml +1079 -0
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-gtag.html +9 -0
- data/_includes/analytics-providers/google-universal.html +10 -0
- data/_includes/analytics-providers/google.html +14 -0
- data/_includes/analytics.html +14 -0
- data/_includes/archive-single.html +38 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +263 -0
- data/_includes/base_path +5 -0
- data/_includes/breadcrumbs.html +39 -0
- data/_includes/browser-upgrade.html +3 -0
- data/_includes/category-list.html +26 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +15 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/google-plus.html +2 -0
- data/_includes/comments-providers/scripts.html +18 -0
- data/_includes/comments-providers/staticman.html +42 -0
- data/_includes/comments-providers/staticman_v2.html +42 -0
- data/_includes/comments.html +171 -0
- data/_includes/documents-collection.html +19 -0
- data/_includes/feature_row +53 -0
- data/_includes/figure +12 -0
- data/_includes/footer.html +25 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/gallery +47 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head.html +43 -0
- data/_includes/head/custom.html +5 -0
- data/_includes/masthead.html +33 -0
- data/_includes/nav_list +47 -0
- data/_includes/page__hero.html +61 -0
- data/_includes/page__hero_video.html +4 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +69 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +15 -0
- data/_includes/schedule.html +57 -0
- data/_includes/scripts.html +28 -0
- data/_includes/search/algolia-search-scripts.html +54 -0
- data/_includes/search/google-search-scripts.html +30 -0
- data/_includes/search/lunr-search-scripts.html +10 -0
- data/_includes/search/search_form.html +18 -0
- data/_includes/seo.html +164 -0
- data/_includes/sidebar.html +23 -0
- data/_includes/social-share.html +13 -0
- data/_includes/tag-list.html +26 -0
- data/_includes/toc +7 -0
- data/_includes/toc.html +75 -0
- data/_includes/two-day-schedule.html +71 -0
- data/_includes/video +11 -0
- data/_layouts/archive-taxonomy.html +15 -0
- data/_layouts/archive.html +26 -0
- data/_layouts/categories.html +42 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +42 -0
- data/_layouts/home.html +11 -0
- data/_layouts/posts.html +29 -0
- data/_layouts/search.html +42 -0
- data/_layouts/single.html +92 -0
- data/_layouts/splash.html +22 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +42 -0
- data/_sass/minimal-mistakes.scss +40 -0
- data/_sass/minimal-mistakes/_animations.scss +21 -0
- data/_sass/minimal-mistakes/_archive.scss +362 -0
- data/_sass/minimal-mistakes/_base.scss +358 -0
- data/_sass/minimal-mistakes/_buttons.scss +98 -0
- data/_sass/minimal-mistakes/_footer.scss +91 -0
- data/_sass/minimal-mistakes/_forms.scss +393 -0
- data/_sass/minimal-mistakes/_masthead.scss +83 -0
- data/_sass/minimal-mistakes/_mixins.scss +92 -0
- data/_sass/minimal-mistakes/_navigation.scss +544 -0
- data/_sass/minimal-mistakes/_notices.scss +100 -0
- data/_sass/minimal-mistakes/_page.scss +520 -0
- data/_sass/minimal-mistakes/_print.scss +252 -0
- data/_sass/minimal-mistakes/_reset.scss +187 -0
- data/_sass/minimal-mistakes/_search.scss +125 -0
- data/_sass/minimal-mistakes/_sidebar.scss +310 -0
- data/_sass/minimal-mistakes/_syntax.scss +324 -0
- data/_sass/minimal-mistakes/_tables.scss +37 -0
- data/_sass/minimal-mistakes/_utilities.scss +524 -0
- data/_sass/minimal-mistakes/_variables.scss +154 -0
- data/_sass/minimal-mistakes/skins/_air.scss +23 -0
- data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +51 -0
- data/_sass/minimal-mistakes/skins/_dark.scss +42 -0
- data/_sass/minimal-mistakes/skins/_default.scss +5 -0
- data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
- data/_sass/minimal-mistakes/skins/_mint.scss +23 -0
- data/_sass/minimal-mistakes/skins/_neon.scss +53 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +60 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +44 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
- data/assets/css/main.scss +8 -0
- data/assets/js/_main.js +106 -0
- data/assets/js/lunr/lunr-en.js +75 -0
- data/assets/js/lunr/lunr-gr.js +528 -0
- data/assets/js/lunr/lunr-store.js +52 -0
- data/assets/js/lunr/lunr.js +2977 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/main.min.js +9 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +83 -0
- data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +9 -0
- data/assets/js/vendor/jquery/jquery-3.3.1.min.js +2 -0
- metadata +327 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
|
3
|
+
<script>
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': {{ site.analytics.google.anonymize_ip | default: false }}});
|
9
|
+
</script>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
|
8
|
+
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }})
|
9
|
+
ga('send', 'pageview');
|
10
|
+
</script>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<script type="text/javascript">
|
2
|
+
var _gaq = _gaq || [];
|
3
|
+
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
4
|
+
{% if site.analytics.google.anonymize_ip == true %}
|
5
|
+
_gaq.push(['_gat._anonymizeIp']);
|
6
|
+
{% endif %}
|
7
|
+
_gaq.push(['_trackPageview']);
|
8
|
+
|
9
|
+
(function() {
|
10
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
11
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
12
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
13
|
+
})();
|
14
|
+
</script>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
|
2
|
+
|
3
|
+
{% case site.analytics.provider %}
|
4
|
+
{% when "google" %}
|
5
|
+
{% include /analytics-providers/google.html %}
|
6
|
+
{% when "google-universal" %}
|
7
|
+
{% include /analytics-providers/google-universal.html %}
|
8
|
+
{% when "google-gtag" %}
|
9
|
+
{% include /analytics-providers/google-gtag.html %}
|
10
|
+
{% when "custom" %}
|
11
|
+
{% include /analytics-providers/custom.html %}
|
12
|
+
{% endcase %}
|
13
|
+
|
14
|
+
{% endif %}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{% if post.header.teaser %}
|
2
|
+
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
3
|
+
{% else %}
|
4
|
+
{% assign teaser = site.teaser %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if post.id %}
|
8
|
+
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
9
|
+
{% else %}
|
10
|
+
{% assign title = post.title %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<div class="{{ include.type | default: "list" }}__item">
|
14
|
+
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
15
|
+
{% if include.type == "grid" and teaser %}
|
16
|
+
<div class="archive__item-teaser">
|
17
|
+
<img src=
|
18
|
+
{% if teaser contains "://" %}
|
19
|
+
"{{ teaser }}"
|
20
|
+
{% else %}
|
21
|
+
"{{ teaser | relative_url }}"
|
22
|
+
{% endif %}
|
23
|
+
alt="">
|
24
|
+
</div>
|
25
|
+
{% endif %}
|
26
|
+
<h2 class="archive__item-title" itemprop="headline">
|
27
|
+
{% if post.link %}
|
28
|
+
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
29
|
+
{% else %}
|
30
|
+
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
|
31
|
+
{% endif %}
|
32
|
+
</h2>
|
33
|
+
{% if post.read_time %}
|
34
|
+
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
35
|
+
{% endif %}
|
36
|
+
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
37
|
+
</article>
|
38
|
+
</div>
|
@@ -0,0 +1,263 @@
|
|
1
|
+
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
2
|
+
{% assign author = site.data.authors[author] | default: author %}
|
3
|
+
|
4
|
+
<div itemscope itemtype="http://schema.org/Person">
|
5
|
+
|
6
|
+
{% if author.avatar %}
|
7
|
+
<div class="author__avatar">
|
8
|
+
{% if author.avatar contains "://" %}
|
9
|
+
{% assign author_src = author.avatar %}
|
10
|
+
{% else %}
|
11
|
+
{% assign author_src = author.avatar | relative_url %}
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
{% if author.home %}
|
15
|
+
{% if author.home contains "://" %}
|
16
|
+
{% assign author_link = author.home %}
|
17
|
+
{% else %}
|
18
|
+
{% assign author_link = author.home | relative_url %}
|
19
|
+
{% endif %}
|
20
|
+
<a href="{{ author_link }}">
|
21
|
+
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
22
|
+
</a>
|
23
|
+
{% else %}
|
24
|
+
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
25
|
+
{% endif %}
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
<div class="author__content">
|
30
|
+
{% if author.home %}
|
31
|
+
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
32
|
+
{% else %}
|
33
|
+
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
34
|
+
{% endif %}
|
35
|
+
{% if author.bio %}
|
36
|
+
<p class="author__bio" itemprop="description">
|
37
|
+
{{ author.bio }}
|
38
|
+
</p>
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div class="author__urls-wrapper">
|
43
|
+
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
44
|
+
<ul class="author__urls social-icons">
|
45
|
+
{% if author.location %}
|
46
|
+
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
47
|
+
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
48
|
+
</li>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
{% if author.uri %}
|
52
|
+
<li>
|
53
|
+
<a href="{{ author.uri }}" itemprop="url">
|
54
|
+
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
55
|
+
</a>
|
56
|
+
</li>
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
{% if author.email %}
|
60
|
+
<li>
|
61
|
+
<a href="mailto:{{ author.email }}">
|
62
|
+
<meta itemprop="email" content="{{ author.email }}" />
|
63
|
+
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
64
|
+
</a>
|
65
|
+
</li>
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% if author.keybase %}
|
69
|
+
<li>
|
70
|
+
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
|
71
|
+
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
72
|
+
</a>
|
73
|
+
</li>
|
74
|
+
{% endif %}
|
75
|
+
|
76
|
+
{% if author.twitter %}
|
77
|
+
<li>
|
78
|
+
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
79
|
+
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
80
|
+
</a>
|
81
|
+
</li>
|
82
|
+
{% endif %}
|
83
|
+
|
84
|
+
{% if author.facebook %}
|
85
|
+
<li>
|
86
|
+
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
87
|
+
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
88
|
+
</a>
|
89
|
+
</li>
|
90
|
+
{% endif %}
|
91
|
+
|
92
|
+
{% if author.google_plus %}
|
93
|
+
<li>
|
94
|
+
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs">
|
95
|
+
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
96
|
+
</a>
|
97
|
+
</li>
|
98
|
+
{% endif %}
|
99
|
+
|
100
|
+
{% if author.linkedin %}
|
101
|
+
<li>
|
102
|
+
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
103
|
+
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
104
|
+
</a>
|
105
|
+
</li>
|
106
|
+
{% endif %}
|
107
|
+
|
108
|
+
{% if author.xing %}
|
109
|
+
<li>
|
110
|
+
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
111
|
+
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
112
|
+
</a>
|
113
|
+
</li>
|
114
|
+
{% endif %}
|
115
|
+
|
116
|
+
{% if author.instagram %}
|
117
|
+
<li>
|
118
|
+
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
119
|
+
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
120
|
+
</a>
|
121
|
+
</li>
|
122
|
+
{% endif %}
|
123
|
+
|
124
|
+
{% if author.tumblr %}
|
125
|
+
<li>
|
126
|
+
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
127
|
+
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
128
|
+
</a>
|
129
|
+
</li>
|
130
|
+
{% endif %}
|
131
|
+
|
132
|
+
{% if author.bitbucket %}
|
133
|
+
<li>
|
134
|
+
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
135
|
+
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
136
|
+
</a>
|
137
|
+
</li>
|
138
|
+
{% endif %}
|
139
|
+
|
140
|
+
{% if author.github %}
|
141
|
+
<li>
|
142
|
+
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
143
|
+
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
144
|
+
</a>
|
145
|
+
</li>
|
146
|
+
{% endif %}
|
147
|
+
|
148
|
+
{% if author.gitlab %}
|
149
|
+
<li>
|
150
|
+
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
|
151
|
+
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
152
|
+
</a>
|
153
|
+
</li>
|
154
|
+
{% endif %}
|
155
|
+
|
156
|
+
{% if author.stackoverflow %}
|
157
|
+
<li>
|
158
|
+
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
|
159
|
+
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
160
|
+
</a>
|
161
|
+
</li>
|
162
|
+
{% endif %}
|
163
|
+
|
164
|
+
{% if author.lastfm %}
|
165
|
+
<li>
|
166
|
+
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
|
167
|
+
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
168
|
+
</a>
|
169
|
+
</li>
|
170
|
+
{% endif %}
|
171
|
+
|
172
|
+
{% if author.dribbble %}
|
173
|
+
<li>
|
174
|
+
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
|
175
|
+
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
176
|
+
</a>
|
177
|
+
</li>
|
178
|
+
{% endif %}
|
179
|
+
|
180
|
+
{% if author.pinterest %}
|
181
|
+
<li>
|
182
|
+
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
183
|
+
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
184
|
+
</a>
|
185
|
+
</li>
|
186
|
+
{% endif %}
|
187
|
+
|
188
|
+
{% if author.foursquare %}
|
189
|
+
<li>
|
190
|
+
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
191
|
+
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
192
|
+
</a>
|
193
|
+
</li>
|
194
|
+
{% endif %}
|
195
|
+
|
196
|
+
{% if author.steam %}
|
197
|
+
<li>
|
198
|
+
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
199
|
+
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
200
|
+
</a>
|
201
|
+
</li>
|
202
|
+
{% endif %}
|
203
|
+
|
204
|
+
{% if author.youtube %}
|
205
|
+
{% if author.youtube contains "://" %}
|
206
|
+
<li>
|
207
|
+
<a href="{{ author.youtube }}" itemprop="sameAs">
|
208
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
209
|
+
</a>
|
210
|
+
</li>
|
211
|
+
{% else author.youtube %}
|
212
|
+
<li>
|
213
|
+
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
214
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
215
|
+
</a>
|
216
|
+
</li>
|
217
|
+
{% endif %}
|
218
|
+
{% endif %}
|
219
|
+
|
220
|
+
{% if author.soundcloud %}
|
221
|
+
<li>
|
222
|
+
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
223
|
+
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
224
|
+
</a>
|
225
|
+
</li>
|
226
|
+
{% endif %}
|
227
|
+
|
228
|
+
{% if author.weibo %}
|
229
|
+
<li>
|
230
|
+
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
231
|
+
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
232
|
+
</a>
|
233
|
+
</li>
|
234
|
+
{% endif %}
|
235
|
+
|
236
|
+
{% if author.flickr %}
|
237
|
+
<li>
|
238
|
+
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
239
|
+
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
240
|
+
</a>
|
241
|
+
</li>
|
242
|
+
{% endif %}
|
243
|
+
|
244
|
+
{% if author.codepen %}
|
245
|
+
<li>
|
246
|
+
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
247
|
+
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
248
|
+
</a>
|
249
|
+
</li>
|
250
|
+
{% endif %}
|
251
|
+
|
252
|
+
{% if author.vine %}
|
253
|
+
<li>
|
254
|
+
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
255
|
+
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
256
|
+
</a>
|
257
|
+
</li>
|
258
|
+
{% endif %}
|
259
|
+
|
260
|
+
{% include author-profile-custom-links.html %}
|
261
|
+
</ul>
|
262
|
+
</div>
|
263
|
+
</div>
|
data/_includes/base_path
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
{% case site.category_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if page.collection != 'posts' %}
|
9
|
+
{% assign path_type = nil %}
|
10
|
+
{% assign crumb_path = '/' %}
|
11
|
+
{% else %}
|
12
|
+
{% assign crumb_path = site.category_archive.path %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<nav class="breadcrumbs">
|
16
|
+
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
17
|
+
{% assign crumbs = page.url | split: '/' %}
|
18
|
+
{% assign i = 1 %}
|
19
|
+
{% for crumb in crumbs offset: 1 %}
|
20
|
+
{% if forloop.first %}
|
21
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
22
|
+
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
23
|
+
<meta itemprop="position" content="{{ i }}" />
|
24
|
+
</li>
|
25
|
+
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
26
|
+
{% endif %}
|
27
|
+
{% if forloop.last %}
|
28
|
+
<li class="current">{{ page.title }}</li>
|
29
|
+
{% else %}
|
30
|
+
{% assign i = i | plus: 1 %}
|
31
|
+
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
32
|
+
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
33
|
+
<meta itemprop="position" content="{{ i }}" />
|
34
|
+
</li>
|
35
|
+
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
36
|
+
{% endif %}
|
37
|
+
{% endfor %}
|
38
|
+
</ol>
|
39
|
+
</nav>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{% case site.category_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if site.category_archive.path %}
|
9
|
+
{% comment %}
|
10
|
+
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
11
|
+
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
12
|
+
{% endcomment %}
|
13
|
+
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
14
|
+
{% assign category_hashes = page_categories | split: ',' | sort %}
|
15
|
+
|
16
|
+
<p class="page__taxonomy">
|
17
|
+
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
18
|
+
<span itemprop="keywords">
|
19
|
+
{% for hash in category_hashes %}
|
20
|
+
{% assign keyValue = hash | split: '#' %}
|
21
|
+
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
22
|
+
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
23
|
+
{% endfor %}
|
24
|
+
</span>
|
25
|
+
</p>
|
26
|
+
{% endif %}
|