aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorFChannel <=>2021-01-30 00:36:31 -0800
committerFChannel <=>2021-01-30 00:36:31 -0800
commit2fdaf020b1d952a9c86863c380affceb9ac09c61 (patch)
tree8d9fea8fefabab49d10ec0abe216aa8e4e72269c /static
parent99ac742cafab11131ba53bf3d64105cfba48f6bb (diff)
trip code name support
Diffstat (limited to 'static')
-rw-r--r--static/posts.html2
1 files changed, 2 insertions, 0 deletions
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 }}
<span>{{ $replies.TotalItems }} replies{{ if gt $replies.TotalImgs 0}} and {{ $replies.TotalImgs }} images{{ end }}, Click <a id="view" post="{{.Id}}" href="/{{ $board.Name }}/{{ .Id }}">here</a> to view all.</span>
{{ end }}
+ {{ end }}
{{ range $replies.OrderedItems }}
<div id="{{ .Id }}">
<div style="display: inline-block; overflow: auto;">