Move templates

This commit is contained in:
Las Zenow 2012-08-15 15:11:52 +02:00
parent 48d1997f4d
commit d924b577d1
9 changed files with 24 additions and 1 deletions

16
templates/book.html Normal file
View file

@ -0,0 +1,16 @@
{{template "header.html"}}
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
<img src="{{.Cover}}" alt="{{.Title}}" />
<ul>
<li><strong>Author:</strong> {{range .Author}}{{.}}, {{end}}</li>
<li><strong>Publisher:</strong> {{.Publisher}}</li>
<li><strong>Tags:</strong> {{range .Subject}}{{.}}, {{end}}</li>
<li><strong>Date:</strong> {{.Date}}</li>
<li><strong>Lang:</strong> {{range .Lang}}{{.}} {{end}}</li>
</ul>
<p><a href="/{{.Path}}">download</a></p>
{{template "footer.html"}}