aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-05-21 11:43:53 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-05-21 11:43:53 -0500
commitdcd004dabbed3a35cb4f59e94712f358528ead87 (patch)
tree01ee9d5a27efcd6922323a095007f6e8ae212985 /templates
parentd4f8fc15b7e6a2204e8dda92a083684d93a5fa59 (diff)
downloadembedtube-dcd004dabbed3a35cb4f59e94712f358528ead87.tar.xz
embedtube-dcd004dabbed3a35cb4f59e94712f358528ead87.zip
check if tags exist before trying to populate them and remove new tags div if no tags exist
Diffstat (limited to 'templates')
-rw-r--r--templates/watch.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/watch.html b/templates/watch.html
index 9849bba..2842547 100644
--- a/templates/watch.html
+++ b/templates/watch.html
@@ -20,8 +20,10 @@
<span><a data-f="author"></a> @ <time data-f="published"></time></span><br>
<span><span data-f="views"></span> Views =&gt; 👍 <span data-f="likes"></span> =&gt; <span data-f="comments"></span> Comments</span><br><br>
<div data-f="description" data-anchor>No description has been added to this video.</div>
- <h4>Tags:</h4>
- <div data-f="tags" data-skip></div>
+ <div id="details-tags">
+ <h4>Tags:</h4>
+ <div data-f="tags" data-skip></div>
+ </div>
</div>
<div id="comments" style="display:none">
<h3>Comments:</h3>