Update html/poketube.ejs

This commit is contained in:
ashley 2024-09-01 23:54:20 +00:00
parent 70f02e3162
commit e2388890a8

View file

@ -1514,22 +1514,30 @@ WIP! </a>
<% if (Array.isArray(inv_vid?.keywords)) { %> <% if (Array.isArray(inv_vid?.keywords)) { %>
<div class="video-title" style="color:var(--text-color);font-family:var(--text-font-primary);font-weight:var(--text-header-weight);font-stretch: extra-expanded;margin-top: 10px;margin-bottom: 10px;">Tags</div>
<div class="tags"> <div class="video-title" style="color:var(--text-color);font-family:var(--text-font-primary);;font-weight:var(--text-header-weight);font-stretch: extra-expanded;margin-top: 10px;margin-bottom: 10px;">Tags</div>
<% if (inv_vid?.keywords && inv_vid.keywords.length > 0) { %> <div class="tags">
<% inv_vid.keywords.forEach(x => { %> <% if (inv_vid?.keywords && inv_vid.keywords.length > 0) { %>
<div class="tag"> <% inv_vid?.keywords.forEach(x => { %>
<a href="/hashtag/<%= x %>" style="color:var(--text-color)"> <div class="tag">
<%= x %> <a href="/hashtag/<%=x %>" style="color:var(--text-color)">
</a> <%=x %>
</div> </a>
<% }) %> </div>
<% }) %>
<% } %>
<% if (inv_vid?.keywords && inv_vid.keywords.length > 0) { %>
<% inv_vid?.keywords.forEach(x => { %>
<div class="tag">
<a href="/hashtag/<%=x %>" style="color:var(--text-color)">
<%=x %>
</a>
</div>
<% }) %>
<% } else { %> <% } else { %>
<p>oh hey i think you lost your tags <a href="/search?query=where+to+find+a+tag">look how to find one</a></p> <p>oh hey i think you lost your tags <a href="/search?query=where+to+find+a+tag">look how to find one</a></p>
<% } %> <% } %>
</div> </div>
</div>
<% } %> <% } %>