From fa895350a8bdf2eb93495dbf569fa3fe0680d2af Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 22 Jul 2021 15:14:14 -0700 Subject: removed media javascript parsing it on server --- static/ncatalog.html | 46 ++-------------------------- static/posts.html | 86 ++-------------------------------------------------- 2 files changed, 5 insertions(+), 127 deletions(-) (limited to 'static') diff --git a/static/ncatalog.html b/static/ncatalog.html index d007d62..c7f5b30 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -37,8 +37,8 @@ {{ end }} - -
+
+
{{ parseAttachment . true }}
{{ end }} diff --git a/static/posts.html b/static/posts.html index 7552188..b638a10 100644 --- a/static/posts.html +++ b/static/posts.html @@ -19,7 +19,7 @@ File: {{ (index .Attachment 0).Name }}({{ (index .Attachment 0).Size }}) -
+
{{ parseAttachment . false }}
{{ end }} {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} {{ .Published }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} @@ -109,7 +70,7 @@
-
+
{{ parseAttachment . false }}
{{ end }} {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} {{ .Published }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} -- cgit v1.2.3