From 683de5193680d4c8d9df2b273daa17b4c4f847d7 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Fri, 20 Aug 2021 14:51:43 -0300 Subject: fix a couple problems --- static/anews.html | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'static/anews.html') diff --git a/static/anews.html b/static/anews.html index 5ebe1cc..355f310 100644 --- a/static/anews.html +++ b/static/anews.html @@ -1,6 +1,6 @@ {{ define "header" }} {{ .Title }} - + @@ -21,23 +21,17 @@

{{ .Title }}

-
- - +
{{ range $i, $e := .NewsItems }} -
- - +
+

{{unixtoreadable $e.Time}} - {{$e.Title}}{{ if $.Board.ModCred }} [Delete] {{end}}

+
+ +

{{$e.Content}}

+
{{ end }} -
-
- {{ if $.Board.ModCred }}[Delete] {{end}} - {{unixtoreadable $e.Time}} - {{$e.Title}} -

{{$e.Content}}

-
-
- +
{{ end }} {{ define "bottom" }}{{ end }} -- cgit v1.2.3