Move scrobble rank from firstlast partial to view.
Eventually moving this to its own partial (probably)
This commit is contained in:
parent
62590fee37
commit
d81681e698
5 changed files with 25 additions and 17 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue