Compare commits

...

2 Commits

2 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,7 @@
{{ if $likes }}
<h4>Likes</h4>
{{ range $i, $like := $likes }}
<a href="{{$like.url}}"><img src="{{ $like.author.photo}}" alt="{{ $like.author.name }}" class="profile photo"></a>
<a href="{{$like.url}}"><img src="{{ $like.author.photo}}" alt="{{ $like.author.name }}" class="profile photo like"></a>
{{ end }}
{{ end }}

View File

@ -51,3 +51,9 @@ img.profile.photo {
max-width: 60px;
padding: 0.5em;
}
img.profile.photo.like {
max-width: 30px;
border-radius: 50%;
padding: 0.5em;
}