Skip to content

Commit

Permalink
updated profile image
Browse files Browse the repository at this point in the history
  • Loading branch information
prasenjit52282 committed May 30, 2024
1 parent 34ee7a7 commit 65811d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified content/authors/admin/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion layouts/partials/widgets/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{ 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" }}
{{ $avatar_image := $avatar.Fill "600x600 Center" }}
<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}}">
Expand Down

0 comments on commit 65811d5

Please sign in to comment.