Use & as author separator
And set properly the separators on other fields
This commit is contained in:
parent
867c19f97c
commit
7665eae762
8 changed files with 61 additions and 13 deletions
|
@ -14,7 +14,12 @@
|
|||
<span class="text-muted">{{if .Publisher}}{{.Publisher}}{{end}}</span>
|
||||
</p>
|
||||
<div class="card-text row">
|
||||
<p class="col-9">{{range .Authors}}{{.}}, {{end}}</p>
|
||||
<p class="col-9">
|
||||
{{range $i, $author := .Authors}}
|
||||
{{if $i}}<span class="text-muted">&</span>{{end}}
|
||||
{{$author}}</a>
|
||||
{{end}}
|
||||
</p>
|
||||
<div class="col-3">
|
||||
<div class="btn-group d-flex justify-content-end">
|
||||
<a href="{{download_url .}}" class="btn btn-dark btn-sm">
|
||||
|
|
Reference in a new issue