Treat missing titles correctly
diff --git a/templates/match.html.ep b/templates/match.html.ep
index d85eeee..19d459a 100644
--- a/templates/match.html.ep
+++ b/templates/match.html.ep
@@ -10,8 +10,10 @@
<div class="tokenInfo"></div>
</div>
<p>
+% if ($match->{title}) {
<strong><%= $match->{title} %></strong>
- <%= $match->{author} ? ' by ' . $match->{author} : '' %>;
+% };
+ <%= $match->{author} ? ' by ' . $match->{author} : '' %><% if ($match->{title} || $match->{author}) %>;<% } %>
published on <%= date_format $match->{pubDate} %>
as <%= $match->{docID} %> (<%= $match->{corpusID} %>)
</p>