aboutsummaryrefslogtreecommitdiff
path: root/views/news.html
diff options
context:
space:
mode:
authorFChannel <>2022-06-04 23:31:12 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commita87235f8b978126c0ca9f9eb252f58e6de17622c (patch)
tree592002dda3ac9f4ca1514eb0f473d31fb62faa84 /views/news.html
parente3c83c1ddaea5f42b6fda66d4b86459fd1349b3b (diff)
news CRUD working
Diffstat (limited to 'views/news.html')
-rw-r--r--views/news.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/news.html b/views/news.html
new file mode 100644
index 0000000..87c40d2
--- /dev/null
+++ b/views/news.html
@@ -0,0 +1,7 @@
+<div class="newsbox" style="text-align: left; max-width: 800px; margin: 0 auto;margin-top: 50px;padding-top:0;">
+ {{ range .page.NewsItems }}
+ <div class="newsbox-news">
+ <p><h1>{{unixtoreadable .Time}} - {{.Title}}</h1><br>{{.Content}}</p>
+ </div>
+ {{ end }}
+</div>