diff --git a/templates/playlist.templ b/templates/playlist.templ index 3fbb3c6..846b4dd 100644 --- a/templates/playlist.templ +++ b/templates/playlist.templ @@ -23,9 +23,9 @@ func playlist(t sc.Track, p sc.Playlist) string { templ PlaylistItem(playlist *sc.Playlist, showUsername bool) { if playlist.Artwork != "" { - + } else { - + }

{ playlist.Title }

diff --git a/templates/track.templ b/templates/track.templ index 41d3f9f..e13fb25 100644 --- a/templates/track.templ +++ b/templates/track.templ @@ -131,9 +131,9 @@ templ TrackItem(track *sc.Track, showUsername bool, overrideHref string) { }}
if track.Artwork != "" { - + } else { - + }

{ track.Title }

@@ -147,7 +147,7 @@ templ TrackItem(track *sc.Track, showUsername bool, overrideHref string) { templ Track(prefs cfg.Preferences, t sc.Track, stream string, displayErr string, autoplay bool, playlist *sc.Playlist, nextTrack *sc.Track, volume string, mode string, audio string, downloadAudio *string, comments *sc.Paginated[*sc.Comment]) { if t.Artwork != "" { - + }

{ t.Title }

@TrackPlayer(prefs, t, stream, displayErr, autoplay, nextTrack, playlist, volume, mode, audio) diff --git a/templates/user.templ b/templates/user.templ index 777ab2f..4f69841 100644 --- a/templates/user.templ +++ b/templates/user.templ @@ -19,9 +19,9 @@ templ UserHeader(u sc.User) { templ UserItem(user *sc.User) {
if user.Avatar != "" { - + } else { - + }

{ user.Username }