Skip to content

Commit

Permalink
update about widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Larkin committed Dec 20, 2024
1 parent 629c6a5 commit d323b28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/home/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ type: "widget_page"
sections:
- block: about
content:
author: "admin" # Reference your author
author: "admin"
title: "About Me"
weight: 10
weight: 10
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div id="profile">

{{ if site.Params.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}}">
<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" }}
<img class="avatar {{if eq $avatar_shape "square"}}avatar-square{{else}}avatar-circle{{end}}" src="{{ $avatar_image.RelPermalink }}" alt="{{$person_page.Title}}">
Expand Down

0 comments on commit d323b28

Please sign in to comment.