Restructure templates to use includes

This commit is contained in:
Las Zenow 2012-08-15 12:00:44 +02:00
parent 8e4a37b558
commit 18454021c3
8 changed files with 19 additions and 14 deletions

View file

@ -1,3 +1,5 @@
{{template "header.html"}}
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
<img src="{{.Cover}}" alt="{{.Title}}" />
@ -10,3 +12,5 @@
</ul>
<p><a href="/{{.Path}}">download</a></p>
{{template "footer.html"}}