... | ... |
@@ -52,6 +52,7 @@ pygmentscodefencesguesssyntax = true |
52 | 52 |
icon = "fa fa-github fa-2x" |
53 | 53 |
weight = 1 |
54 | 54 |
url = "https://github.com/jbweston/" |
55 |
+ rel = "me" |
|
55 | 56 |
# [[params.social]] |
56 | 57 |
# name = "Gitlab" |
57 | 58 |
# icon = "fa fa-gitlab fa-2x" |
... | ... |
@@ -62,11 +63,13 @@ pygmentscodefencesguesssyntax = true |
62 | 63 |
icon = "fa fa-linkedin fa-2x" |
63 | 64 |
weight = 1 |
64 | 65 |
url = "https://linkedin.com/in/jbostonweston/" |
66 |
+ rel = "me" |
|
65 | 67 |
[[params.social]] |
66 | 68 |
name = "Email" |
67 | 69 |
icon = "fa fa-envelope fa-2x" |
68 | 70 |
weight = 1 |
69 | 71 |
url = "mailto:joseph@weston.cloud" |
72 |
+ rel = "me" |
|
70 | 73 |
[[params.social]] |
71 | 74 |
name = "RSS" |
72 | 75 |
icon = "fa fa-rss" |
... | ... |
@@ -1,22 +1,22 @@ |
1 | 1 |
<section class="container centered"> |
2 |
- <div class="about"> |
|
2 |
+ <div class="about h-card"> |
|
3 | 3 |
{{ if and (isset .Site.Params "avatarurl") (not (isset .Site.Params "gravatar")) }} |
4 |
- {{ with .Site.Params.avatarURL }} |
|
5 |
- <div class="avatar"><img src="{{ . | relURL }}" alt="avatar"></div> |
|
6 |
- {{ end }} |
|
7 |
- {{ end }} |
|
8 |
- {{ with .Site.Params.gravatar }} |
|
9 |
- <div class="avatar"><img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" alt="gravatar"></div> |
|
4 |
+ <div class="avatar"> |
|
5 |
+ <a class="u-url u-uid" rel="me" href="{{ .Permalink }}"> |
|
6 |
+ <img class="u-photo" src="{{ .Site.Params.avatarURL | relURL }}" alt="avatar"> |
|
7 |
+ </a> |
|
8 |
+ </div> |
|
10 | 9 |
{{ end }} |
11 |
- <h1>{{ .Site.Params.author }}</h1> |
|
10 |
+ <h1 class="p-name">{{ .Site.Params.author }}</h1> |
|
12 | 11 |
<h2>{{ .Site.Params.info }}</h2> |
13 |
- <div>{{ .Site.Params.abstract }}</div> |
|
12 |
+ <div class="p-note">{{ .Site.Params.abstract }}</div> |
|
13 |
+ <a class="u-key" rel="pgpkey" type="application/pgp-keys" href="{{ .Permalink }}pgp.asc"></a> |
|
14 | 14 |
{{ with .Site.Params.social }} |
15 | 15 |
<ul> |
16 | 16 |
{{ range sort . "weight" }} |
17 | 17 |
{{ if .icon }} |
18 | 18 |
<li> |
19 |
- <a href="{{ .url | safeURL }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }} {{ if .type }}type="{{ .type }}"{{ end }}> |
|
19 |
+ <a class="{{ if (eq .name "Email") }}u-email{{ end }}" href="{{ .url | safeURL }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }} {{ if .type }}type="{{ .type }}"{{ end }}> |
|
20 | 20 |
<i class="{{ .icon }}" aria-hidden="true"></i> |
21 | 21 |
</a> |
22 | 22 |
</li> |