diff options
author | FChannel <> | 2022-06-19 12:47:32 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 16:03:29 -0700 |
commit | b02f813e519dc890f2eb4827ff52cff3ff90c828 (patch) | |
tree | d020fbdefda52542aab3f4250bf93533e9f38504 /views/npost.html | |
parent | cd99df8d6781c3f0a191d119ea0ddf8c4a16089f (diff) |
v0.1.0
Diffstat (limited to 'views/npost.html')
-rw-r--r-- | views/npost.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/npost.html b/views/npost.html index 7c22b9b..04a0d97 100644 --- a/views/npost.html +++ b/views/npost.html @@ -25,6 +25,7 @@ </ul> </td> + {{ if gt (len .page.Posts) 0 }} {{ if eq (index .page.Posts 0).Type "Note" }} <td style="text-align: center;"> <span>[<a id="reply-content" href="javascript:quote('{{ .page.Board.Actor.Id }}', '{{ (index .page.Posts 0).Id }}', 'reply')">Post a Reply</a>]</span> @@ -35,6 +36,7 @@ {{ $replies := (index .page.Posts 0).Replies }} <span id="threadStats" data-total="{{ $replies.TotalItems }}" data-imgs="{{ $replies.TotalImgs }}">{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}</span> </td> + {{ end }} </tr> </table> |