From 61ba5dcc29a16bb3727209a76ee75fffff037dee Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Thu, 11 Dec 2025 15:09:30 -0500 Subject: Add commenting system --- ui/html/pages/post.tmpl.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'ui') diff --git a/ui/html/pages/post.tmpl.html b/ui/html/pages/post.tmpl.html index eefbd82..d3b78f0 100644 --- a/ui/html/pages/post.tmpl.html +++ b/ui/html/pages/post.tmpl.html @@ -5,4 +5,40 @@
{{.Post.Content}}
+
+

Leave Comment

+
+ +

+
+ + + +
+
+
+ {{range .Comments}} + {{if .IsVerified}} +
+

{{.Name}} - {{.FormattedTime}}

+ {{if $.IsAuth}} + + {{end}} +

{{.Content}}

+
+ {{else}} + {{if $.IsAuth}} +
+

{{.Name}} - {{.FormattedTime}}

+ +

{{.Content}}

+
+ {{end}} + {{end}} + {{end}} {{end}} -- cgit v1.2.3