1
1
{% assign author = page.author | default: page.authors[0] | default: site.author %}
2
2
{% assign author = site.data.authors[author] | default: author %}
3
3
4
- < div itemscope itemtype ="https://schema.org/Person ">
4
+ < div itemscope itemtype ="https://schema.org/Person " class =" h-card " >
5
5
6
6
{% if author.avatar %}
7
7
< div class ="author__avatar ">
8
- {% if author.home %}
9
- < a href ="{{ author.home | relative_url }} ">
10
- < img src ="{{ author.avatar | relative_url }} " alt ="{{ author.name }} " itemprop ="image ">
11
- </ a >
12
- {% else %}
13
- < img src ="{{ author.avatar | relative_url }} " alt ="{{ author.name }} " itemprop ="image ">
14
- {% endif %}
8
+ < a href ="{{ author.home | default: '/' | absolute_url }} ">
9
+ < img src ="{{ author.avatar | relative_url }} " alt ="{{ author.name }} " itemprop ="image " class ="u-photo ">
10
+ </ a >
15
11
</ div >
16
12
{% endif %}
17
13
18
14
< div class ="author__content ">
19
- {% if author.home %}
20
- < a href ="{{ author.home | relative_url }} "> < h3 class ="author__name " itemprop ="name "> {{ author.name }}</ h3 > </ a >
21
- {% else %}
22
- < h3 class ="author__name " itemprop ="name "> {{ author.name }}</ h3 >
23
- {% endif %}
15
+ < h3 class ="author__name p-name " itemprop ="name ">
16
+ < a class ="u-url " rel ="me " href ="{{ author.home | default: '/' | absolute_url }} " itemprop ="url "> {{ author.name }}</ a >
17
+ </ h3 >
24
18
{% if author.bio %}
25
- < div class ="author__bio " itemprop ="description ">
19
+ < div class ="author__bio p-note " itemprop ="description ">
26
20
{{ author.bio | markdownify }}
27
21
</ div >
28
22
{% endif %}
@@ -33,29 +27,29 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
33
27
< ul class ="author__urls social-icons ">
34
28
{% if author.location %}
35
29
< li itemprop ="homeLocation " itemscope itemtype ="https://schema.org/Place ">
36
- < i class ="fas fa-fw fa-map-marker-alt " aria-hidden ="true "> </ i > < span itemprop ="name "> {{ author.location }}</ span >
30
+ < i class ="fas fa-fw fa-map-marker-alt " aria-hidden ="true "> </ i > < span itemprop ="name " class =" p-locality " > {{ author.location }}</ span >
37
31
</ li >
38
32
{% endif %}
39
33
40
34
{% if author.links %}
41
35
{% for link in author.links %}
42
36
{% if link.label and link.url %}
43
- < li > < a href ="{{ link.url }} " rel ="nofollow noopener noreferrer "> < i class ="{{ link.icon | default: 'fas fa-link' }} " aria-hidden ="true "> </ i > < span class ="label "> {{ link.label }}</ span > </ a > </ li >
37
+ < li > < a href ="{{ link.url }} " rel ="nofollow noopener noreferrer me "> < i class ="{{ link.icon | default: 'fas fa-link' }} " aria-hidden ="true "> </ i > < span class ="label "> {{ link.label }}</ span > </ a > </ li >
44
38
{% endif %}
45
39
{% endfor %}
46
40
{% endif %}
47
41
48
42
{% if author.uri %}
49
43
< li >
50
- < a href ="{{ author.uri }} " itemprop ="url ">
44
+ < a href ="{{ author.uri }} " itemprop ="url " rel =" me " >
51
45
< i class ="fas fa-fw fa-link " aria-hidden ="true "> </ i > < span class ="label "> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</ span >
52
46
</ a >
53
47
</ li >
54
48
{% endif %}
55
49
56
50
{% if author.email %}
57
51
< li >
58
- < a href ="mailto:{{ author.email }} ">
52
+ < a href ="mailto:{{ author.email }} " rel =" me " class =" u-email " >
59
53
< meta itemprop ="email " content ="{{ author.email }} " />
60
54
< i class ="fas fa-fw fa-envelope-square " aria-hidden ="true "> </ i > < span class ="label "> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</ span >
61
55
</ a >
@@ -64,127 +58,127 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
64
58
65
59
{% if author.keybase %}
66
60
< li >
67
- < a href ="https://keybase.io/{{ author.keybase }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
61
+ < a href ="https://keybase.io/{{ author.keybase }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
68
62
< i class ="fas fa-fw fa-key " aria-hidden ="true "> </ i > < span class ="label "> Keybase</ span >
69
63
</ a >
70
64
</ li >
71
65
{% endif %}
72
66
73
67
{% if author.twitter %}
74
68
< li >
75
- < a href ="https://twitter.com/{{ author.twitter }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
69
+ < a href ="https://twitter.com/{{ author.twitter }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
76
70
< i class ="fab fa-fw fa-twitter-square " aria-hidden ="true "> </ i > < span class ="label "> Twitter</ span >
77
71
</ a >
78
72
</ li >
79
73
{% endif %}
80
74
81
75
{% if author.facebook %}
82
76
< li >
83
- < a href ="https://www.facebook.com/{{ author.facebook }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
77
+ < a href ="https://www.facebook.com/{{ author.facebook }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
84
78
< i class ="fab fa-fw fa-facebook-square " aria-hidden ="true "> </ i > < span class ="label "> Facebook</ span >
85
79
</ a >
86
80
</ li >
87
81
{% endif %}
88
82
89
83
{% if author.linkedin %}
90
84
< li >
91
- < a href ="https://www.linkedin.com/in/{{ author.linkedin }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
85
+ < a href ="https://www.linkedin.com/in/{{ author.linkedin }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
92
86
< i class ="fab fa-fw fa-linkedin " aria-hidden ="true "> </ i > < span class ="label "> LinkedIn</ span >
93
87
</ a >
94
88
</ li >
95
89
{% endif %}
96
90
97
91
{% if author.xing %}
98
92
< li >
99
- < a href ="https://www.xing.com/profile/{{ author.xing }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
93
+ < a href ="https://www.xing.com/profile/{{ author.xing }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
100
94
< i class ="fab fa-fw fa-xing-square " aria-hidden ="true "> </ i > < span class ="label "> XING</ span >
101
95
</ a >
102
96
</ li >
103
97
{% endif %}
104
98
105
99
{% if author.instagram %}
106
100
< li >
107
- < a href ="https://instagram.com/{{ author.instagram }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
101
+ < a href ="https://instagram.com/{{ author.instagram }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
108
102
< i class ="fab fa-fw fa-instagram " aria-hidden ="true "> </ i > < span class ="label "> Instagram</ span >
109
103
</ a >
110
104
</ li >
111
105
{% endif %}
112
106
113
107
{% if author.tumblr %}
114
108
< li >
115
- < a href ="https://{{ author.tumblr }}.tumblr.com " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
109
+ < a href ="https://{{ author.tumblr }}.tumblr.com " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
116
110
< i class ="fab fa-fw fa-tumblr-square " aria-hidden ="true "> </ i > < span class ="label "> Tumblr</ span >
117
111
</ a >
118
112
</ li >
119
113
{% endif %}
120
114
121
115
{% if author.bitbucket %}
122
116
< li >
123
- < a href ="https://bitbucket.org/{{ author.bitbucket }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
117
+ < a href ="https://bitbucket.org/{{ author.bitbucket }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
124
118
< i class ="fab fa-fw fa-bitbucket " aria-hidden ="true "> </ i > < span class ="label "> Bitbucket</ span >
125
119
</ a >
126
120
</ li >
127
121
{% endif %}
128
122
129
123
{% if author.github %}
130
124
< li >
131
- < a href ="https://github.com/{{ author.github }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
125
+ < a href ="https://github.com/{{ author.github }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
132
126
< i class ="fab fa-fw fa-github " aria-hidden ="true "> </ i > < span class ="label "> GitHub</ span >
133
127
</ a >
134
128
</ li >
135
129
{% endif %}
136
130
137
131
{% if author.gitlab %}
138
132
< li >
139
- < a href ="https://gitlab.com/{{ author.gitlab }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
133
+ < a href ="https://gitlab.com/{{ author.gitlab }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
140
134
< i class ="fab fa-fw fa-gitlab " aria-hidden ="true "> </ i > < span class ="label "> GitLab</ span >
141
135
</ a >
142
136
</ li >
143
137
{% endif %}
144
138
145
139
{% if author.stackoverflow %}
146
140
< li >
147
- < a href ="https://stackoverflow.com/users/{{ author.stackoverflow }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
141
+ < a href ="https://stackoverflow.com/users/{{ author.stackoverflow }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
148
142
< i class ="fab fa-fw fa-stack-overflow " aria-hidden ="true "> </ i > < span class ="label "> Stack Overflow</ span >
149
143
</ a >
150
144
</ li >
151
145
{% endif %}
152
146
153
147
{% if author.lastfm %}
154
148
< li >
155
- < a href ="https://last.fm/user/{{ author.lastfm }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
149
+ < a href ="https://last.fm/user/{{ author.lastfm }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
156
150
< i class ="fab fa-fw fa-lastfm-square " aria-hidden ="true "> </ i > < span class ="label "> Last.fm</ span >
157
151
</ a >
158
152
</ li >
159
153
{% endif %}
160
154
161
155
{% if author.dribbble %}
162
156
< li >
163
- < a href ="https://dribbble.com/{{ author.dribbble }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
157
+ < a href ="https://dribbble.com/{{ author.dribbble }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
164
158
< i class ="fab fa-fw fa-dribbble " aria-hidden ="true "> </ i > < span class ="label "> Dribbble</ span >
165
159
</ a >
166
160
</ li >
167
161
{% endif %}
168
162
169
163
{% if author.pinterest %}
170
164
< li >
171
- < a href ="https://www.pinterest.com/{{ author.pinterest }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
165
+ < a href ="https://www.pinterest.com/{{ author.pinterest }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
172
166
< i class ="fab fa-fw fa-pinterest " aria-hidden ="true "> </ i > < span class ="label "> Pinterest</ span >
173
167
</ a >
174
168
</ li >
175
169
{% endif %}
176
170
177
171
{% if author.foursquare %}
178
172
< li >
179
- < a href ="https://foursquare.com/{{ author.foursquare }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
173
+ < a href ="https://foursquare.com/{{ author.foursquare }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
180
174
< i class ="fab fa-fw fa-foursquare " aria-hidden ="true "> </ i > < span class ="label "> Foursquare</ span >
181
175
</ a >
182
176
</ li >
183
177
{% endif %}
184
178
185
179
{% if author.steam %}
186
180
< li >
187
- < a href ="https://steamcommunity.com/id/{{ author.steam }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
181
+ < a href ="https://steamcommunity.com/id/{{ author.steam }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
188
182
< i class ="fab fa-fw fa-steam " aria-hidden ="true "> </ i > < span class ="label "> Steam</ span >
189
183
</ a >
190
184
</ li >
@@ -193,13 +187,13 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
193
187
{% if author.youtube %}
194
188
{% if author.youtube contains "://" %}
195
189
< li >
196
- < a href ="{{ author.youtube }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
190
+ < a href ="{{ author.youtube }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
197
191
< i class ="fab fa-fw fa-youtube " aria-hidden ="true "> </ i > < span class ="label "> YouTube</ span >
198
192
</ a >
199
193
</ li >
200
194
{% elsif author.youtube %}
201
195
< li >
202
- < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
196
+ < a href ="https://www.youtube.com/user/{{ author.youtube }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
203
197
< i class ="fab fa-fw fa-youtube " aria-hidden ="true "> </ i > < span class ="label "> YouTube</ span >
204
198
</ a >
205
199
</ li >
@@ -208,39 +202,39 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
208
202
209
203
{% if author.soundcloud %}
210
204
< li >
211
- < a href ="https://soundcloud.com/{{ author.soundcloud }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
205
+ < a href ="https://soundcloud.com/{{ author.soundcloud }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
212
206
< i class ="fab fa-fw fa-soundcloud " aria-hidden ="true "> </ i > < span class ="label "> SoundCloud</ span >
213
207
</ a >
214
208
</ li >
215
209
{% endif %}
216
210
217
211
{% if author.weibo %}
218
212
< li >
219
- < a href ="https://www.weibo.com/{{ author.weibo }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
213
+ < a href ="https://www.weibo.com/{{ author.weibo }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
220
214
< i class ="fab fa-fw fa-weibo " aria-hidden ="true "> </ i > < span class ="label "> Weibo</ span >
221
215
</ a >
222
216
</ li >
223
217
{% endif %}
224
218
225
219
{% if author.flickr %}
226
220
< li >
227
- < a href ="https://www.flickr.com/{{ author.flickr }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
221
+ < a href ="https://www.flickr.com/{{ author.flickr }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
228
222
< i class ="fab fa-fw fa-flickr " aria-hidden ="true "> </ i > < span class ="label "> Flickr</ span >
229
223
</ a >
230
224
</ li >
231
225
{% endif %}
232
226
233
227
{% if author.codepen %}
234
228
< li >
235
- < a href ="https://codepen.io/{{ author.codepen }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
229
+ < a href ="https://codepen.io/{{ author.codepen }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
236
230
< i class ="fab fa-fw fa-codepen " aria-hidden ="true "> </ i > < span class ="label "> CodePen</ span >
237
231
</ a >
238
232
</ li >
239
233
{% endif %}
240
234
241
235
{% if author.vine %}
242
236
< li >
243
- < a href ="https://vine.co/u/{{ author.vine }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer ">
237
+ < a href ="https://vine.co/u/{{ author.vine }} " itemprop ="sameAs " rel ="nofollow noopener noreferrer me ">
244
238
< i class ="fab fa-fw fa-vine " aria-hidden ="true "> </ i > < span class ="label "> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</ span >
245
239
</ a >
246
240
</ li >
@@ -249,4 +243,4 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
249
243
{% include author-profile-custom-links.html %}
250
244
</ ul >
251
245
</ div >
252
- </ div >
246
+ </ div >
0 commit comments