From b02f813e519dc890f2eb4827ff52cff3ff90c828 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 19 Jun 2022 12:47:32 -0700 Subject: v0.1.0 --- static/posts.html | 122 ------------------------------------------------------ 1 file changed, 122 deletions(-) delete mode 100644 static/posts.html (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html deleted file mode 100644 index 936ed58..0000000 --- a/static/posts.html +++ /dev/null @@ -1,122 +0,0 @@ -{{ define "posts" }} -{{ $board := .Board }} -{{ $len := len .Posts }} -{{ range .Posts }} -{{ $thread := . }} -{{ $opId := .Id }} -{{ if eq $board.InReplyTo "" }} -
-{{ end }} -
-
- {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Post] - {{ end }} - {{ if .Attachment }} - {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Ban Media] - [Delete Attachment] - [Mark Sensitive] - {{ end }} - File: {{ shortImg (index .Attachment 0).Name }} ({{ convertSize (index .Attachment 0).Size }}) - - -
{{ parseAttachment . false }}
- - {{ end }} - {{ .Name }} - {{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} - {{ .TripCode }} - {{ .Published | timeToReadableLong }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} -

{{ parseContent $board.Actor $opId .Content $thread }}

- {{ if .Replies }} - {{ $replies := .Replies }} - {{ if gt $replies.TotalItems 5 }} - {{ if gt $len 1 }} - {{ $replies.TotalItems }} replies{{ if gt $replies.TotalImgs 0}} and {{ $replies.TotalImgs }} images{{ end }}, Click here to view all. - {{ end }} - {{ end }} - {{ range $replies.OrderedItems }} -
-
-
>>
-
- {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Post] - {{ end }} - {{ if .Attachment }} - {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Ban Media] - [Delete Attachment] - [Mark Sensitive] - {{ end }} - File {{ shortImg (index .Attachment 0).Name }} ({{ convertSize (index .Attachment 0).Size }}) - - -
-
{{ parseAttachment . false }}
- - {{ end }} - {{ .Name }} - {{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} - {{ .TripCode }} - {{ .Published | timeToReadableLong }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} - {{ $parentId := .Id }} - {{ if .Replies.OrderedItems }} - {{ range .Replies.OrderedItems }} - {{ parseReplyLink $board.Actor.Id $opId .Id .Content }} - {{ end }} - {{ end }} -

{{ parseContent $board.Actor $opId .Content $thread }}

-
-
-
- {{ end }} - {{ end }} -
-
-{{ end }} -{{ end }} -- cgit v1.2.3