From 8d92bdf7da95e1085485c0e60b9dac19c246e235 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 23 Jan 2024 06:33:20 -0500 Subject: move ui templates into src, update conf to handle other paths, export User Insert Hooks --- src/ui/templates/comments.tmpl.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/ui/templates/comments.tmpl.html (limited to 'src/ui/templates/comments.tmpl.html') diff --git a/src/ui/templates/comments.tmpl.html b/src/ui/templates/comments.tmpl.html new file mode 100644 index 0000000..b069bbd --- /dev/null +++ b/src/ui/templates/comments.tmpl.html @@ -0,0 +1,16 @@ +{{define "comments"}} +
+ {{range $comment := .comments }} + by {{$comment.username}} + {{$comment.created_at}} + + Flag + Hide + Reply + + + {{ end }} +
+{{end}} -- cgit v1.2.3