Skip to content

Commit

Permalink
testit
Browse files Browse the repository at this point in the history
  • Loading branch information
chemlord committed May 6, 2024
1 parent bdb0abd commit b76cc26
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions layouts/partials/blocks/about.biography.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,16 @@
{{ $avatar_shape := site.Params.features.avatar.shape | default "circle" }}

<style>
.row { align-items: center; }
.col-lg-4 { flex: 0 0 33%; max-width: 33%; padding-right: 30px; }
.avatar { width: 100%; border-radius: 50%; margin-bottom: 10px; }
.portrait-title h2, .portrait-title h3 { margin: 0; padding: 0; line-height: 1.2; }
.col-lg-8 { flex: 0 0 67%; max-width: 67%; }
.article-style { margin-bottom: 20px; }
.ul-interests, .ul-edu { list-style-type: none; padding-left: 0; }
.fa-li { width: 2.5em; }
.profile-container { margin-left: -20px; } /* Adjusts the left margin to shift the profile section to the left */
</style>

<!-- About widget -->
<div class="row">
<div class="col-12 col-lg-4">
<div class="col-12 col-lg-4 profile-container">
<div id="profile">
{{ if $avatar }}
{{ 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" }}
<img class="avatar {{if eq $avatar_shape "square"}}avatar-square{{else}}avatar-circle{{end}}"
width="{{ $avatar_image.Width }}" height="{{ $avatar_image.Height }}"
Expand Down

0 comments on commit b76cc26

Please sign in to comment.