diff --git a/templates/comments.html b/templates/comments.html index 70a1ce3..4810890 100644 --- a/templates/comments.html +++ b/templates/comments.html @@ -1,6 +1,10 @@ - Show {{ (len .Comments) }} comments + Show + {{ (len .Comments) }} comment{{ if gt (len .Comments) 1 }}s{{ + end }} {{ range $comment := .Comments }} @@ -10,9 +14,7 @@ {{ $comment.Upvotes }} - - {{ $comment.Text }} - + {{ $comment.Text }} Commented {{ $comment.Timestamp }} by
- Show {{ (len .Comments) }} comments + Show + {{ (len .Comments) }} comment{{ if gt (len .Comments) 1 }}s{{ + end }}