Rename author to authors and subject to tags
This commit is contained in:
parent
e72de38725
commit
7f9c172853
17 changed files with 37 additions and 39 deletions
|
@ -159,8 +159,8 @@ func readHandler(h handler) {
|
|||
data.S = GetStatus(h)
|
||||
|
||||
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 + " -- Read -- " + data.S.Title
|
||||
|
||||
|
|
Reference in a new issue