From 2fdaf020b1d952a9c86863c380affceb9ac09c61 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Sat, 30 Jan 2021 00:36:31 -0800 Subject: trip code name support --- static/posts.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index fcc8aec..e146032 100644 --- a/static/posts.html +++ b/static/posts.html @@ -65,8 +65,10 @@ {{ if .Replies }} {{ $replies := .Replies }} {{ if gt $replies.TotalItems 5 }} + {{ if gt $len 1 }} {{ $replies.TotalItems }} replies{{ if gt $replies.TotalImgs 0}} and {{ $replies.TotalImgs }} images{{ end }}, Click here to view all. {{ end }} + {{ end }} {{ range $replies.OrderedItems }}
-- cgit v1.2.3