From 38f01c1910c57af62ea362c37ad3ac2de5b24253 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Tue, 16 Feb 2021 01:11:55 -0800 Subject: cut down catalog query to only grab op --- static/catalog.html | 189 --------------------------------------------------- static/ncatalog.html | 4 +- 2 files changed, 3 insertions(+), 190 deletions(-) delete mode 100644 static/catalog.html (limited to 'static') diff --git a/static/catalog.html b/static/catalog.html deleted file mode 100644 index b5b361e..0000000 --- a/static/catalog.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - {{ .Title }} - - - - - - {{ $board := .Board }} - {{ if $board.IsMod }} - [Manage Board] - {{ end }} -
-

/{{ $board.Name }}/ - {{ $board.PrefName }}

-
-
-
-
-
-
-
-
-
- - - - -

-
-
-
- -
-
-
- -
- -
- -
- {{ range .Posts }} -
- {{ if $board.IsMod }} - [Delete Post] - {{ end }} - {{ if .Attachment }} - {{ if $board.IsMod }} - [Delete Attachment] - {{ end }} - -
- - - - {{ end }} -
- {{ $replies := .Replies }} - R: {{ $replies.TotalItems }}{{ if $replies.TotalImgs }}/ A: {{ $replies.TotalImgs }}{{ end }} - {{ if .Name }} - {{ .Name }} - {{ end }} - {{ if .Content }} - {{.Content}} - {{ end }} -
-
-
- - {{ end }} -
-
- -
- - - diff --git a/static/ncatalog.html b/static/ncatalog.html index 3638d95..c5b6a23 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -61,7 +61,9 @@ {{ end }}
{{ $replies := .Replies }} - R: {{ $replies.TotalItems }}{{ if $replies.TotalImgs }}/ A: {{ $replies.TotalImgs }}{{ end }} + {{ if $replies }} + R: {{ $replies.TotalItems }}{{ if $replies.TotalImgs }}/ A: {{ $replies.TotalImgs }}{{ end }} + {{ end }} {{ if .Name }} {{ .Name }} {{ end }} -- cgit v1.2.3