aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
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;">