Simple news implementation

Is missing some proper design and to show up the news on the front page.
This commit is contained in:
Las Zenow 2013-07-17 01:08:44 +02:00
parent bf0480868d
commit 5f612a36ad
8 changed files with 101 additions and 1 deletions

10
templates/news.html Normal file
View file

@ -0,0 +1,10 @@
{{template "header.html" .S}}
<dl class="dl-horizontal">
{{range .News}}
<dt>{{.Date}}</dt>
<dd>{{.Text}}</dd>
{{end}}
</dl>
{{template "footer.html"}}