diff --git a/templates/playlist.templ b/templates/playlist.templ index 05ff3b9..a10a106 100644 --- a/templates/playlist.templ +++ b/templates/playlist.templ @@ -29,8 +29,13 @@ templ Playlist(p sc.Playlist) { } -
{ p.Description }
- { strconv.FormatInt(p.TrackCount, 10) } tracks + if p.Description != "" { +{ p.Description }
+{ strconv.FormatInt(p.TrackCount, 10) } tracks
Verified
}{ u.Description }
+ if u.Description != "" { +{ u.Description }
+{ strconv.FormatInt(u.Followers, 10) } followers
{ strconv.FormatInt(u.Following, 10) } following
{ strconv.FormatInt(u.Tracks, 10) } tracks
-{ strconv.FormatInt(u.Playlists, 10) } playlists
+{ strconv.FormatInt(u.Playlists, 10) } playlists & albums
Created: { u.CreatedAt }
Last modified: { u.LastModified }