Show interactions on comments

This commit is contained in:
Jan-Lukas Else 2022-01-28 08:26:51 +01:00
parent e02ec1cd71
commit 6dc36e697f
1 changed files with 4 additions and 0 deletions

4
ui.go
View File

@ -334,6 +334,10 @@ func (a *goBlog) renderComment(h *htmlBuilder, rd *renderData) {
hb.write(c.Comment) // Already escaped
hb.writeElementClose("p")
hb.writeElementClose("main")
// Interactions
if rd.CommentsEnabled {
a.renderInteractions(hb, rd.Blog, rd.Canonical)
}
},
)
}