Use & as author separator

And set properly the separators on other fields
This commit is contained in:
Las Zenow 2021-05-01 11:36:07 +00:00
parent 867c19f97c
commit 7665eae762
8 changed files with 61 additions and 13 deletions

View file

@ -90,8 +90,8 @@ func InitTemplate(assetsPath string) *Template {
return &t
}
func stringsJoin(strs []string) string {
return strings.Join(strs, ", ")
func stringsJoin(strs []string, sep string) string {
return strings.Join(strs, sep)
}
func bookFileName(book database.Book) string {