update track API and lyrics fixes
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
05e16a0867
commit
f276ef1ff2
5 changed files with 60 additions and 15 deletions
|
@ -62,7 +62,14 @@
|
|||
<div class="card tracks">
|
||||
{{range $Track := .Tracks}}
|
||||
<div class="track">
|
||||
<h2 class="track-title">{{$Track.Title}}</h2>
|
||||
<h2 class="track-title">
|
||||
{{$Track.Title}}
|
||||
{{if $Track.Release}}
|
||||
<small class="track-album">{{$Track.Release.Title}}</small>
|
||||
{{else}}
|
||||
<small class="track-album empty">(no album)</small>
|
||||
{{end}}
|
||||
</h2>
|
||||
{{if $Track.Description}}
|
||||
<p class="track-description">{{$Track.Description}}</p>
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue