1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

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)) { %>
<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">
<% 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 { %>
<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 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">
<% inv_vid?.keywords.forEach(x => { %>
<div class="tag">
<a href="/hashtag/<%=x %>" style="color:var(--text-color)">
<%=x %>
</a>
</div>
<% }) %>
</div>