mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:37:51 +01:00
add no tags
This commit is contained in:
parent
f30f724bac
commit
70f02e3162
1 changed files with 14 additions and 11 deletions
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue