blog: nice comment tweaks

This commit is contained in:
ari melody 2025-05-21 18:39:33 +01:00
parent fece0f5da6
commit 0596edc4b2
Signed by: ari
GPG key ID: CF99829C92678188
3 changed files with 28 additions and 5 deletions

View file

@ -38,8 +38,10 @@
join the conversation on
<a class="btn bluesky" href="{{.BlueskyURL}}" target="_blank">Bluesky 🦋</a>
<!-- TODO: mastodon support -->
or
<a class="btn mastodon" href="{{.MastodonURL}}" target="_blank">Mastodon 🐘</a>
<!--
or
<a class="btn mastodon" href="{{.MastodonURL}}" target="_blank">Mastodon 🐘</a>
-->
</p>
<div class="comments">
@ -74,8 +76,10 @@
{{end}}
</div>
<div class="comment-footer">
<!-- <span>{{.Post.LikeCount}} likes</span> -->
<!-- <span>{{.Post.RepostCount}} reposts</span> -->
<span>{{.Post.LikeCount}} like{{if ne .Post.LikeCount 1}}s{{end}}</span>
&bull;
<span>{{.Post.RepostCount}} repost{{if ne .Post.RepostCount 1}}s{{end}}</span>
&bull;
<span class="comment-date">{{.Post.Record.CreatedAtPrint}}</span>
</div>
</a>