diff options
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> |