add no tags

This commit is contained in:
ashley 2024-09-01 23:49:45 +00:00
parent f30f724bac
commit 70f02e3162

View file

@ -1514,18 +1514,21 @@ 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="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="tags"> <% if (inv_vid?.keywords && inv_vid.keywords.length > 0) { %>
<% inv_vid.keywords.forEach(x => { %>
<% inv_vid?.keywords.forEach(x => { %>
<div class="tag"> <div class="tag">
<a href="/hashtag/<%=x %>" style="color:var(--text-color)"> <a href="/hashtag/<%= x %>" style="color:var(--text-color)">
<%=x %> <%= x %>
</a> </a>
</div> </div>
<% }) %> <% }) %>
<% } 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>
<% } %>
</div>
</div> </div>