diff options
author | FChannel <> | 2022-06-04 23:31:12 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | a87235f8b978126c0ca9f9eb252f58e6de17622c (patch) | |
tree | 592002dda3ac9f4ca1514eb0f473d31fb62faa84 /views/news.html | |
parent | e3c83c1ddaea5f42b6fda66d4b86459fd1349b3b (diff) |
news CRUD working
Diffstat (limited to 'views/news.html')
-rw-r--r-- | views/news.html | 7 |
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> |