Move scrobble rank from firstlast partial to view.

Eventually moving this to its own partial (probably)
This commit is contained in:
mitteneer 2025-05-31 13:37:34 -04:00
parent 62590fee37
commit d81681e698
5 changed files with 25 additions and 17 deletions

View file

@ -9,8 +9,9 @@
</head>
<body>
@partial partials/header
<h1>{{.song}}</h1>
@partial partials/firstlast_listens(scrobbles: .song.scrobbles, rank: .song.rank, firstlast: .firstlast)
<h1>{{.song.name}}</h1>
<div>{{.song.scrobbles}} scrobbles ({{.song.rank}} place)</div>
@partial partials/firstlast_listens(firstlast: .firstlast)
<h3>Yearly Performance</h3>
@partial partials/timescale(range: .yearly)
<h2>Scrobbles</h2>