Print out the news in the front page

This commit is contained in:
Las Zenow 2013-07-18 11:42:46 +02:00
parent 9a98cfd793
commit 54763b04df
5 changed files with 29 additions and 13 deletions

View file

@ -1,9 +1,10 @@
{{template "header.html" .S}}
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>News!</strong> The <a href="/about/">about</a> has being updated with pgp key and bitcoin address for donations.
{{range .News}}
<div class="offset2 span8 alert alert-info">
<a href="/news/"><strong>News!</strong></a> {{.Text}}
</div>
{{end}}
<div class="row">
<div class="span8">