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/ncatalog.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html index c7f5b30..8ce418a 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -19,25 +19,26 @@
+
{{ range .Posts }}
- {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [Delete Post] {{ end }} {{ if .Attachment }} - {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [Delete Attachment] - [Mark Sensitive] - {{ end }} + [Mark Sensitive] + {{ end }} - - + +
{{ parseAttachment . true }}
+ media.style = "display: none;" + } + {{ end }}
@@ -84,10 +85,11 @@
-
+
{{ end }} {{ define "bottom" }} {{ end }} -- cgit v1.2.3