From a87235f8b978126c0ca9f9eb252f58e6de17622c Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 4 Jun 2022 23:31:12 -0700 Subject: news CRUD working --- views/anews.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 views/anews.html (limited to 'views/anews.html') diff --git a/views/anews.html b/views/anews.html new file mode 100644 index 0000000..69378d4 --- /dev/null +++ b/views/anews.html @@ -0,0 +1,15 @@ +
+

{{ .page.Title }}

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

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

+
+ +

{{$e.Content}}

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