<%= profile.username%>
<% if ((profile.private_recent_track == 0 && profile.private_liked_tracks == 0) || isYourProfile) { %>
My playlists:
<% if (profile.private_recent_track == 0 || isYourProfile) { %>
-
<% } %>
<% if ((profile.private_liked_tracks == 0) || isYourProfile) { %>
-
<% } %>
<% } %>
<% if ((profile.private_show_recent_played_playlists == 1 || isYourProfile) && myRecentPlaylists.length != 0) { %>
My recent played playlists:
<% myRecentPlaylists.forEach(playlist => { %>
-
<% }) %>
<% } %>
<% if ((profile.private_show_my_playlits == 1 || isYourProfile) && myRecentPlaylists.length != 0) { %>
Self-created playlists:
<% myPlaylists.forEach(playlist => { %>
-
<% }) %>
<% } %>