|
@@ -15,14 +15,14 @@
|
|
|
{{end}}
|
|
|
{{ $person := $person_page.Params }}
|
|
|
{{ $avatar := ($person_page.Resources.ByType "image").GetMatch "*avatar*" }}
|
|
|
-{{ $avatar_shape := site.Params.avatar.shape | default "circle" }}
|
|
|
+{{ $avatar_shape := site.Params.features.avatar.shape | default "circle" }}
|
|
|
|
|
|
<!-- About widget -->
|
|
|
<div class="row">
|
|
|
<div class="col-12 col-lg-4">
|
|
|
<div id="profile">
|
|
|
|
|
|
- {{ if site.Params.avatar.gravatar }}
|
|
|
+ {{ if site.Params.features.avatar.gravatar }}
|
|
|
<img class="avatar {{if eq $avatar_shape "square"}}avatar-square{{else}}avatar-circle{{end}}" src="https://s.gravatar.com/avatar/{{ md5 $person.email }}?s=270')" alt="{{$person_page.Title}}">
|
|
|
{{ else if $avatar }}
|
|
|
{{ $avatar_image := $avatar.Fill "270x270 Center" }}
|
|
@@ -32,7 +32,7 @@
|
|
|
{{ end }}
|
|
|
|
|
|
<div class="portrait-title">
|
|
|
-
|
|
|
+
|
|
|
<h2>
|
|
|
{{- if $person.name_pronunciation -}}
|
|
|
<ruby>
|
|
@@ -43,7 +43,7 @@
|
|
|
{{- $person_page.Title -}}
|
|
|
{{- end -}}
|
|
|
</h2>
|
|
|
-
|
|
|
+
|
|
|
{{ with $person.role }}<h3>{{ . | markdownify | emojify }}</h3>{{ end }}
|
|
|
|
|
|
{{ range $person.organizations }}
|