{{ .Title }}

{{ with .Params.pseudonyms }} {{ range . }} {{ $href := print (absURL "music/pseudonyms/") (urlize .) }}

{{ . }}

{{ end }} {{ end }}
{{ $tracklist := .Params.tracklist }} {{ $tracklengths := .Params.tracklengths }} {{ range $i, $sequence := (seq (len $tracklist)) }} {{ end }} {{ $total := 0 }} {{ range $.Params.tracklengths }} {{ $times := split . ":" }} {{ $hours := 0 }} {{ $minutes := 0 }} {{ $seconds := 0 }} {{ if (eq (strings.TrimLeft "0" (index $times 0) ) "") }} {{ $hours = int "0" }} {{ else }} {{ $hours = int (strings.TrimLeft "0" (index $times 0)) }} {{ end }} {{ if (eq (strings.TrimLeft "0" (index $times 1) ) "") }} {{ $minutes = int "0" }} {{ else }} {{ $minutes = int (strings.TrimLeft "0" (index $times 1)) }} {{ end }} {{ if (eq (strings.TrimLeft "0" (index $times 2) ) "") }} {{ $seconds = int "0" }} {{ else }} {{ $seconds = int (strings.TrimLeft "0" (index $times 2)) }} {{ end }} {{ $convHours := mul $hours 3600 }} {{ $convMinutes := mul $minutes 60 }} {{ $totalSeconds := add (add $convMinutes $convHours) $seconds }} {{ $total = add $total $totalSeconds }} {{ end }} {{ $totalHours := int (math.Floor (div $total 3600)) }} {{ $totalMinutes := int (math.Floor (div $total 60)) }} {{ $totalSeconds := int (mod $total 60) }}
{{ index $tracklist $i }} {{ index $tracklengths $i}}
total:{{ printf "%02d" $totalHours }}:{{ printf "%02d" $totalMinutes }}:{{printf "%02d" $totalSeconds }}