minimal-mistakes-jekyll 4.14.0 → 4.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/LICENSE +20 -20
- data/README.md +1 -1
- data/_data/ui-text.yml +1176 -1176
- data/_includes/analytics-providers/google-gtag.html +9 -9
- data/_includes/analytics-providers/google-universal.html +10 -10
- data/_includes/analytics-providers/google.html +13 -13
- data/_includes/analytics.html +13 -13
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +271 -271
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/comments-providers/scripts.html +19 -19
- data/_includes/comments-providers/utterances.html +19 -19
- data/_includes/comments.html +174 -174
- data/_includes/footer.html +19 -19
- data/_includes/head.html +41 -41
- data/_includes/masthead.html +33 -33
- data/_includes/search/algolia-search-scripts.html +54 -54
- data/_includes/search/search_form.html +17 -17
- data/_includes/seo.html +164 -164
- data/_includes/video +13 -13
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +13 -13
- data/_layouts/posts.html +29 -29
- data/_layouts/single.html +94 -94
- data/_layouts/splash.html +21 -21
- data/_layouts/tags.html +42 -42
- data/_sass/minimal-mistakes.scss +1 -1
- data/_sass/minimal-mistakes/_archive.scss +437 -437
- data/_sass/minimal-mistakes/_base.scss +357 -357
- data/_sass/minimal-mistakes/_footer.scss +91 -91
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +556 -556
- data/_sass/minimal-mistakes/_search.scss +126 -126
- data/_sass/minimal-mistakes/_sidebar.scss +318 -318
- data/_sass/minimal-mistakes/_utilities.scss +6 -0
- data/_sass/minimal-mistakes/_variables.scss +159 -159
- data/_sass/minimal-mistakes/skins/_dark.scss +27 -27
- data/_sass/minimal-mistakes/skins/_neon.scss +56 -56
- data/_sass/minimal-mistakes/skins/_plum.scss +63 -63
- data/assets/js/_main.js +106 -106
- data/assets/js/lunr/lunr-store.js +54 -54
- data/assets/js/lunr/lunr.js +3483 -3483
- data/assets/js/lunr/lunr.min.js +5 -5
- data/assets/js/main.min.js +5 -5
- metadata +2 -2
@@ -1,9 +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>
|
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>
|
@@ -1,10 +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>
|
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>
|
@@ -1,14 +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
|
-
})();
|
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
14
|
</script>
|
data/_includes/analytics.html
CHANGED
@@ -1,14 +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
|
-
|
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
14
|
{% endif %}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<!--
|
2
|
-
<li>
|
3
|
-
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
4
|
-
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
5
|
-
</a>
|
6
|
-
</li>
|
1
|
+
<!--
|
2
|
+
<li>
|
3
|
+
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
4
|
+
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
5
|
+
</a>
|
6
|
+
</li>
|
7
7
|
-->
|
@@ -1,271 +1,271 @@
|
|
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.links %}
|
52
|
-
{% for link in author.links %}
|
53
|
-
{% if link.label and link.url %}
|
54
|
-
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
55
|
-
{% endif %}
|
56
|
-
{% endfor %}
|
57
|
-
{% endif %}
|
58
|
-
|
59
|
-
{% if author.uri %}
|
60
|
-
<li>
|
61
|
-
<a href="{{ author.uri }}" itemprop="url">
|
62
|
-
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
63
|
-
</a>
|
64
|
-
</li>
|
65
|
-
{% endif %}
|
66
|
-
|
67
|
-
{% if author.email %}
|
68
|
-
<li>
|
69
|
-
<a href="mailto:{{ author.email }}">
|
70
|
-
<meta itemprop="email" content="{{ author.email }}" />
|
71
|
-
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
72
|
-
</a>
|
73
|
-
</li>
|
74
|
-
{% endif %}
|
75
|
-
|
76
|
-
{% if author.keybase %}
|
77
|
-
<li>
|
78
|
-
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
79
|
-
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
80
|
-
</a>
|
81
|
-
</li>
|
82
|
-
{% endif %}
|
83
|
-
|
84
|
-
{% if author.twitter %}
|
85
|
-
<li>
|
86
|
-
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
87
|
-
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
88
|
-
</a>
|
89
|
-
</li>
|
90
|
-
{% endif %}
|
91
|
-
|
92
|
-
{% if author.facebook %}
|
93
|
-
<li>
|
94
|
-
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
95
|
-
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
96
|
-
</a>
|
97
|
-
</li>
|
98
|
-
{% endif %}
|
99
|
-
|
100
|
-
{% if author.google_plus %}
|
101
|
-
<li>
|
102
|
-
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
103
|
-
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
104
|
-
</a>
|
105
|
-
</li>
|
106
|
-
{% endif %}
|
107
|
-
|
108
|
-
{% if author.linkedin %}
|
109
|
-
<li>
|
110
|
-
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
111
|
-
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
112
|
-
</a>
|
113
|
-
</li>
|
114
|
-
{% endif %}
|
115
|
-
|
116
|
-
{% if author.xing %}
|
117
|
-
<li>
|
118
|
-
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
119
|
-
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
120
|
-
</a>
|
121
|
-
</li>
|
122
|
-
{% endif %}
|
123
|
-
|
124
|
-
{% if author.instagram %}
|
125
|
-
<li>
|
126
|
-
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
127
|
-
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
128
|
-
</a>
|
129
|
-
</li>
|
130
|
-
{% endif %}
|
131
|
-
|
132
|
-
{% if author.tumblr %}
|
133
|
-
<li>
|
134
|
-
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
135
|
-
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
136
|
-
</a>
|
137
|
-
</li>
|
138
|
-
{% endif %}
|
139
|
-
|
140
|
-
{% if author.bitbucket %}
|
141
|
-
<li>
|
142
|
-
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
143
|
-
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
144
|
-
</a>
|
145
|
-
</li>
|
146
|
-
{% endif %}
|
147
|
-
|
148
|
-
{% if author.github %}
|
149
|
-
<li>
|
150
|
-
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
151
|
-
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
152
|
-
</a>
|
153
|
-
</li>
|
154
|
-
{% endif %}
|
155
|
-
|
156
|
-
{% if author.gitlab %}
|
157
|
-
<li>
|
158
|
-
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
159
|
-
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
160
|
-
</a>
|
161
|
-
</li>
|
162
|
-
{% endif %}
|
163
|
-
|
164
|
-
{% if author.stackoverflow %}
|
165
|
-
<li>
|
166
|
-
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
167
|
-
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
168
|
-
</a>
|
169
|
-
</li>
|
170
|
-
{% endif %}
|
171
|
-
|
172
|
-
{% if author.lastfm %}
|
173
|
-
<li>
|
174
|
-
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
175
|
-
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
176
|
-
</a>
|
177
|
-
</li>
|
178
|
-
{% endif %}
|
179
|
-
|
180
|
-
{% if author.dribbble %}
|
181
|
-
<li>
|
182
|
-
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
183
|
-
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
184
|
-
</a>
|
185
|
-
</li>
|
186
|
-
{% endif %}
|
187
|
-
|
188
|
-
{% if author.pinterest %}
|
189
|
-
<li>
|
190
|
-
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
191
|
-
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
192
|
-
</a>
|
193
|
-
</li>
|
194
|
-
{% endif %}
|
195
|
-
|
196
|
-
{% if author.foursquare %}
|
197
|
-
<li>
|
198
|
-
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
199
|
-
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
200
|
-
</a>
|
201
|
-
</li>
|
202
|
-
{% endif %}
|
203
|
-
|
204
|
-
{% if author.steam %}
|
205
|
-
<li>
|
206
|
-
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
207
|
-
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
208
|
-
</a>
|
209
|
-
</li>
|
210
|
-
{% endif %}
|
211
|
-
|
212
|
-
{% if author.youtube %}
|
213
|
-
{% if author.youtube contains "://" %}
|
214
|
-
<li>
|
215
|
-
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
216
|
-
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
217
|
-
</a>
|
218
|
-
</li>
|
219
|
-
{% else author.youtube %}
|
220
|
-
<li>
|
221
|
-
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
222
|
-
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
223
|
-
</a>
|
224
|
-
</li>
|
225
|
-
{% endif %}
|
226
|
-
{% endif %}
|
227
|
-
|
228
|
-
{% if author.soundcloud %}
|
229
|
-
<li>
|
230
|
-
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
231
|
-
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
232
|
-
</a>
|
233
|
-
</li>
|
234
|
-
{% endif %}
|
235
|
-
|
236
|
-
{% if author.weibo %}
|
237
|
-
<li>
|
238
|
-
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
239
|
-
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
240
|
-
</a>
|
241
|
-
</li>
|
242
|
-
{% endif %}
|
243
|
-
|
244
|
-
{% if author.flickr %}
|
245
|
-
<li>
|
246
|
-
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
247
|
-
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
248
|
-
</a>
|
249
|
-
</li>
|
250
|
-
{% endif %}
|
251
|
-
|
252
|
-
{% if author.codepen %}
|
253
|
-
<li>
|
254
|
-
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
255
|
-
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
256
|
-
</a>
|
257
|
-
</li>
|
258
|
-
{% endif %}
|
259
|
-
|
260
|
-
{% if author.vine %}
|
261
|
-
<li>
|
262
|
-
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
263
|
-
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
264
|
-
</a>
|
265
|
-
</li>
|
266
|
-
{% endif %}
|
267
|
-
|
268
|
-
{% include author-profile-custom-links.html %}
|
269
|
-
</ul>
|
270
|
-
</div>
|
271
|
-
</div>
|
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.links %}
|
52
|
+
{% for link in author.links %}
|
53
|
+
{% if link.label and link.url %}
|
54
|
+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
55
|
+
{% endif %}
|
56
|
+
{% endfor %}
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
{% if author.uri %}
|
60
|
+
<li>
|
61
|
+
<a href="{{ author.uri }}" itemprop="url">
|
62
|
+
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
63
|
+
</a>
|
64
|
+
</li>
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
{% if author.email %}
|
68
|
+
<li>
|
69
|
+
<a href="mailto:{{ author.email }}">
|
70
|
+
<meta itemprop="email" content="{{ author.email }}" />
|
71
|
+
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
72
|
+
</a>
|
73
|
+
</li>
|
74
|
+
{% endif %}
|
75
|
+
|
76
|
+
{% if author.keybase %}
|
77
|
+
<li>
|
78
|
+
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
79
|
+
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
80
|
+
</a>
|
81
|
+
</li>
|
82
|
+
{% endif %}
|
83
|
+
|
84
|
+
{% if author.twitter %}
|
85
|
+
<li>
|
86
|
+
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
87
|
+
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
88
|
+
</a>
|
89
|
+
</li>
|
90
|
+
{% endif %}
|
91
|
+
|
92
|
+
{% if author.facebook %}
|
93
|
+
<li>
|
94
|
+
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
95
|
+
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
96
|
+
</a>
|
97
|
+
</li>
|
98
|
+
{% endif %}
|
99
|
+
|
100
|
+
{% if author.google_plus %}
|
101
|
+
<li>
|
102
|
+
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
103
|
+
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
104
|
+
</a>
|
105
|
+
</li>
|
106
|
+
{% endif %}
|
107
|
+
|
108
|
+
{% if author.linkedin %}
|
109
|
+
<li>
|
110
|
+
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
111
|
+
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
112
|
+
</a>
|
113
|
+
</li>
|
114
|
+
{% endif %}
|
115
|
+
|
116
|
+
{% if author.xing %}
|
117
|
+
<li>
|
118
|
+
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
119
|
+
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
120
|
+
</a>
|
121
|
+
</li>
|
122
|
+
{% endif %}
|
123
|
+
|
124
|
+
{% if author.instagram %}
|
125
|
+
<li>
|
126
|
+
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
127
|
+
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
128
|
+
</a>
|
129
|
+
</li>
|
130
|
+
{% endif %}
|
131
|
+
|
132
|
+
{% if author.tumblr %}
|
133
|
+
<li>
|
134
|
+
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
135
|
+
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
136
|
+
</a>
|
137
|
+
</li>
|
138
|
+
{% endif %}
|
139
|
+
|
140
|
+
{% if author.bitbucket %}
|
141
|
+
<li>
|
142
|
+
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
143
|
+
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
144
|
+
</a>
|
145
|
+
</li>
|
146
|
+
{% endif %}
|
147
|
+
|
148
|
+
{% if author.github %}
|
149
|
+
<li>
|
150
|
+
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
151
|
+
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
152
|
+
</a>
|
153
|
+
</li>
|
154
|
+
{% endif %}
|
155
|
+
|
156
|
+
{% if author.gitlab %}
|
157
|
+
<li>
|
158
|
+
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
159
|
+
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
160
|
+
</a>
|
161
|
+
</li>
|
162
|
+
{% endif %}
|
163
|
+
|
164
|
+
{% if author.stackoverflow %}
|
165
|
+
<li>
|
166
|
+
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
167
|
+
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
168
|
+
</a>
|
169
|
+
</li>
|
170
|
+
{% endif %}
|
171
|
+
|
172
|
+
{% if author.lastfm %}
|
173
|
+
<li>
|
174
|
+
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
175
|
+
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
176
|
+
</a>
|
177
|
+
</li>
|
178
|
+
{% endif %}
|
179
|
+
|
180
|
+
{% if author.dribbble %}
|
181
|
+
<li>
|
182
|
+
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
183
|
+
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
184
|
+
</a>
|
185
|
+
</li>
|
186
|
+
{% endif %}
|
187
|
+
|
188
|
+
{% if author.pinterest %}
|
189
|
+
<li>
|
190
|
+
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
191
|
+
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
192
|
+
</a>
|
193
|
+
</li>
|
194
|
+
{% endif %}
|
195
|
+
|
196
|
+
{% if author.foursquare %}
|
197
|
+
<li>
|
198
|
+
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
199
|
+
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
200
|
+
</a>
|
201
|
+
</li>
|
202
|
+
{% endif %}
|
203
|
+
|
204
|
+
{% if author.steam %}
|
205
|
+
<li>
|
206
|
+
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
207
|
+
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
208
|
+
</a>
|
209
|
+
</li>
|
210
|
+
{% endif %}
|
211
|
+
|
212
|
+
{% if author.youtube %}
|
213
|
+
{% if author.youtube contains "://" %}
|
214
|
+
<li>
|
215
|
+
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
216
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
217
|
+
</a>
|
218
|
+
</li>
|
219
|
+
{% else author.youtube %}
|
220
|
+
<li>
|
221
|
+
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
222
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
223
|
+
</a>
|
224
|
+
</li>
|
225
|
+
{% endif %}
|
226
|
+
{% endif %}
|
227
|
+
|
228
|
+
{% if author.soundcloud %}
|
229
|
+
<li>
|
230
|
+
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
231
|
+
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
232
|
+
</a>
|
233
|
+
</li>
|
234
|
+
{% endif %}
|
235
|
+
|
236
|
+
{% if author.weibo %}
|
237
|
+
<li>
|
238
|
+
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
239
|
+
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
240
|
+
</a>
|
241
|
+
</li>
|
242
|
+
{% endif %}
|
243
|
+
|
244
|
+
{% if author.flickr %}
|
245
|
+
<li>
|
246
|
+
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
247
|
+
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
248
|
+
</a>
|
249
|
+
</li>
|
250
|
+
{% endif %}
|
251
|
+
|
252
|
+
{% if author.codepen %}
|
253
|
+
<li>
|
254
|
+
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
255
|
+
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
256
|
+
</a>
|
257
|
+
</li>
|
258
|
+
{% endif %}
|
259
|
+
|
260
|
+
{% if author.vine %}
|
261
|
+
<li>
|
262
|
+
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
263
|
+
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
264
|
+
</a>
|
265
|
+
</li>
|
266
|
+
{% endif %}
|
267
|
+
|
268
|
+
{% include author-profile-custom-links.html %}
|
269
|
+
</ul>
|
270
|
+
</div>
|
271
|
+
</div>
|