Rename author to authors and subject to tags

This commit is contained in:
Las Zenow 2016-07-30 07:36:58 -04:00
parent e72de38725
commit 7f9c172853
17 changed files with 37 additions and 39 deletions

View file

@ -68,8 +68,8 @@ func bookHandler(h handler) {
data.Book = book
author := ""
if len(book.Author) > 0 {
author = " by " + book.Author[0]
if len(book.Authors) > 0 {
author = " by " + book.Authors[0]
}
data.S.Title = book.Title + author + " -- " + data.S.Title