|
@@ -26,7 +26,9 @@
|
|
<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}}">
|
|
<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 }}
|
|
{{ else if $avatar }}
|
|
{{ $avatar_image := $avatar.Fill "270x270 Center" }}
|
|
{{ $avatar_image := $avatar.Fill "270x270 Center" }}
|
|
- <img class="avatar {{if eq $avatar_shape "square"}}avatar-square{{else}}avatar-circle{{end}}" src="{{ $avatar_image.RelPermalink }}" alt="{{$person_page.Title}}">
|
|
|
|
|
|
+ <img class="avatar {{if eq $avatar_shape "square"}}avatar-square{{else}}avatar-circle{{end}}"
|
|
|
|
+ width="{{ $avatar_image.Width }}" height="{{ $avatar_image.Height }}"
|
|
|
|
+ src="{{ $avatar_image.RelPermalink }}" alt="{{$person_page.Title}}">
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|
|
<div class="portrait-title">
|
|
<div class="portrait-title">
|