Put the covers on the database

This commit is contained in:
Las Zenow 2013-04-15 22:10:48 +02:00
parent 402dbabdbd
commit 986f834f46
10 changed files with 79 additions and 64 deletions

View file

@ -4,7 +4,7 @@
<div class="row">
{{if .Cover}}
<div class="span4">
<img src="/cover/{{.Cover}}" alt="{{.Title}}" class="pull-right" />
<img src="/cover/{{.Id}}/big/{{.Title}}.jpg" alt="{{.Title}}" class="pull-right" />
</div>
{{end}}