From ac288d40da3235b9382d685c9958ad167a758bcd Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 31 Jul 2021 11:42:59 -0700 Subject: added archive page and viewing --- static/npost.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'static/npost.html') diff --git a/static/npost.html b/static/npost.html index 419a1a9..2f0778f 100644 --- a/static/npost.html +++ b/static/npost.html @@ -15,8 +15,6 @@ {{ end }} - - {{ end }} {{ define "content" }} @@ -25,7 +23,6 @@
@@ -36,23 +33,24 @@
-{{ $replies := (index .Posts 0).Replies }} +{{ $replies := (index .Posts 0).Replies }} {{ $replies.TotalItems }} / {{ $replies.TotalImgs }} -
- [Post a Reply] + +
+{{ if eq (index .Posts 0).Type "Note" }} +[Post a Reply] +{{ end }}
+
{{ end }} {{ define "script" }} + - {{ end }} -- cgit v1.2.3