From 2e19245f396fab18a34e1468e933f6de74cf90e6 Mon Sep 17 00:00:00 2001 From: Las Zenow Date: Wed, 15 Aug 2012 17:12:40 +0200 Subject: [PATCH] Only show image if exists --- templates/book.html | 2 +- templates/index.html | 3 ++- templates/search.html | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/book.html b/templates/book.html index 22ebb22..ea855db 100644 --- a/templates/book.html +++ b/templates/book.html @@ -2,7 +2,7 @@

{{.Title}}

{{.Description}}

-{{.Title}} +{{if .Cover}}{{.Title}}{{end}}