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

add no desc warning

This commit is contained in:
Ashley 2022-09-21 14:21:36 +02:00
parent 57bdc0a060
commit 2f7ecbd37b

View file

@ -31,7 +31,7 @@
<meta content="https://poketube.fun/watch?v=<%=video.id%>" name=twitter:url>
<meta content="<%=video.Title%> - PokeTube" name=twitter:title>
<meta content="Watch this video by <%=video.Channel.Name%> On PokeTube. The YouTube front-end that doesnt track you!" property=twitter:description>
<meta content="https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg" property=og:image>
<meta content="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg" property=og:image>
<meta content=summary_large_image name=twitter:card>
<link href="https://poketube.fun/watch?v=<%=video.id%>" itemprop=url>
<link href="http://www.youtube.com/channel/<%=video.Channel.id%>" itemprop=url>
@ -144,8 +144,14 @@
<div class="video-sub-info description" style="font-weight: bold;margin-top: 55px !important;border-radius: 21px;background: #1c1c1c;padding: 10px;margin-bottom: 20px;margin-left: 0;">
<div class="video-title" style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;margin-top: 3px;margin-bottom: 10px;">Description</div>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;/*! width: 4.5em; */height: 0;">
<% if (String(video.Description) != "[object Object]") { %>
<%-String(video.Description).replace(/\n/g, " <br> ")%>
<% } %>
<% if (String(video.Description) == "[object Object]") { %>
<p>No Description On this Video </p>
<% } %>
<% if (wiki.extract_html) { %>
<div class="video-title" style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:700;margin-top: 10px;margin-bottom: 10px;">From da web</div>