mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 18:18:36 +01:00
add a check for artists
This commit is contained in:
parent
9edfb9c216
commit
7aa8181f6f
1 changed files with 8 additions and 1 deletions
|
@ -1670,7 +1670,14 @@ Recommended Videos
|
|||
<% } %>
|
||||
<div>
|
||||
<a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word">
|
||||
<span> <%=x.author %> <% if (x?.authorVerified) { %> <i class="icon ion ion-md-checkmark-circle" style="margin-left: 0em;" title="verified channel"></i> <% } %> </span>
|
||||
<span> <%=x.author %> <% if (x?.authorVerified) { %>
|
||||
<% if (x.title.toLowerCase().includes("official video") || x.title.toLowerCase().includes("official music video") || x.title.toLowerCase().includes("official audio")) { %>
|
||||
<i class="fa-light fa-music-note" style="margin-left: 0em;" title="official artist channel"></i>
|
||||
<% } else { %>
|
||||
<i class="icon ion ion-md-checkmark-circle" style="margin-left: 0em;" title="verified channel"></i>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</span>
|
||||
</a>
|
||||
<div class="video-views">
|
||||
|
||||
|
|
Loading…
Reference in a new issue