{{define "head"}} {{.GetTitle}} - {{.PrintArtists true true}} {{end}} {{define "content"}}
<

{{.GetTitle}} artwork

{{.GetTitle}}

{{.GetReleaseYear}}

{{.PrintArtists true true}}

{{.GetType}}

{{if .GetDescription}}

{{.GetDescription}}

{{end}}
{{if .GetCredits}}

credits:

    {{range .GetCredits}} {{$Artist := .GetArtist}} {{if $Artist.GetWebsite}}
  • {{$Artist.GetName}}: {{.GetRole}}
  • {{else}}
  • {{$Artist.GetName}}: {{.GetRole}}
  • {{end}} {{end}}
{{end}} {{if .IsSingle}} {{$Track := index .GetTracks 0}} {{if $Track.GetLyrics}}

lyrics:

{{$Track.GetLyrics}}

{{end}} {{else}}

tracks:

{{range $i, $track := .GetTracks}}
{{$i}}. {{$track.GetTitle}} {{$track.GetLyrics}}
{{end}}
{{end}}
  • overview
  • {{if .GetCredits}}
  • credits
  • {{end}} {{if .IsSingle}} {{$Track := index .GetTracks 0}} {{if $Track.GetLyrics}}
  • lyrics
  • {{end}} {{else}}
  • tracks
  • {{end}}
{{end}}