From 6dc36e697fcc03c05d07eff083b1e0bbc63b817c Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Fri, 28 Jan 2022 08:26:51 +0100 Subject: [PATCH] Show interactions on comments --- ui.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui.go b/ui.go index 5d1ca52..dfbc176 100644 --- a/ui.go +++ b/ui.go @@ -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) + } }, ) }