mirror of https://github.com/jlelse/GoBlog
Show interactions on comments
This commit is contained in:
parent
e02ec1cd71
commit
6dc36e697f
4
ui.go
4
ui.go
|
@ -334,6 +334,10 @@ func (a *goBlog) renderComment(h *htmlBuilder, rd *renderData) {
|
||||||
hb.write(c.Comment) // Already escaped
|
hb.write(c.Comment) // Already escaped
|
||||||
hb.writeElementClose("p")
|
hb.writeElementClose("p")
|
||||||
hb.writeElementClose("main")
|
hb.writeElementClose("main")
|
||||||
|
// Interactions
|
||||||
|
if rd.CommentsEnabled {
|
||||||
|
a.renderInteractions(hb, rd.Blog, rd.Canonical)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue