Fix blog avatar

This commit is contained in:
2024-02-20 10:00:04 +00:00
parent ef14711b2f
commit aff0762c7f
2 changed files with 10 additions and 1 deletions

View File

@@ -350,3 +350,12 @@ footer {
.map {
height: 500px;
}
// -------------------------------------------------------
// Blog pages
// -------------------------------------------------------
.blog-avatar {
margin-left: 0 !important;
margin-right: 1em !important;
}

View File

@@ -8,7 +8,7 @@
{{ define "content" }}
<article class="media">
<figure class="media-left">
<figure class="blog-avatar media-left">
<p class="image is-64x64">
{{ $avatar := resources.GetRemote (print "https://www.gravatar.com/avatar/" (sha256 .Params.author_email)) |
resources.Copy (print "images/avatars/" (sha256 .Params.author_email) ".jpg") }}