do it for search.ejs too

This commit is contained in:
ashley 2025-09-22 21:08:20 +02:00
parent beecf4d754
commit c0cef2685c

View File

@ -18,28 +18,47 @@
along with this program. If not, see https://www.gnu.org/licenses/.
-->
<!DOCTYPE html>
<head>
<title>Searching <%=q%> | Poke</title>
<link rel="manifest" href="/manifest.json">
<link href="/css/yt-ukraine.svg?v=8" rel=icon>
<link href="/css/app-cdn.min.css" rel=stylesheet>
<link href="/css/yt-ukraine.svg?v=8" rel=icon>
<link href="/css/app-cdn.min.css" rel=stylesheet>
<link href="/css/app.main.css?v=44600" rel=stylesheet>
<link href="/css/search.main.css?v=547" rel=stylesheet>
<link href="/css/watch.main.css" rel=stylesheet>
<link href="/css/watch.main.css" rel=stylesheet>
<meta name="darkreader-lock"> <!-- tells dark reader that the site has a dark theme and to turn itself off -->
<meta content="Searching <%=q%> | Poke" property=og:title>
<% if (q == "do the harlem shake") { %>
<meta content="DO THE HARLEM SHAKE" property=twitter:description>
<% } %>
<% if (q != "do the harlem shake") { %>
<meta content="Ur Searching <%=q%> on Poke!" property=twitter:description>
<% } %>
<!-- Open Graph -->
<meta content="Searching <%=q%> | Poke" property="og:title">
<% if (q == "do the harlem shake") { %>
<meta content="DO THE HARLEM SHAKE" property="og:description">
<% } else { %>
<meta content="Ur Searching <%=q%> on Poke!" property="og:description">
<% } %>
<meta content="https://cdn.glitch.me/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884" property="og:image">
<meta property="og:type" content="website">
<meta property="og:url" content="https://<%=hostname%>/search?search_query=<%=q%>">
<!-- Twitter -->
<meta content="Searching <%=q%> | Poke" name="twitter:title">
<% if (q == "do the harlem shake") { %>
<meta content="DO THE HARLEM SHAKE" name="twitter:description">
<% } else { %>
<meta content="Ur Searching <%=q%> on Poke!" name="twitter:description">
<% } %>
<meta content="https://cdn.glitch.me/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884" name="twitter:image">
<meta content="summary_large_image" name="twitter:card">
<!-- Facebook -->
<meta property="facebook:title" content="Searching <%=q%> | Poke">
<% if (q == "do the harlem shake") { %>
<meta property="facebook:description" content="DO THE HARLEM SHAKE">
<% } else { %>
<meta property="facebook:description" content="Ur Searching <%=q%> on Poke!">
<% } %>
<meta property="facebook:image" content="https://cdn.glitch.me/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884">
<meta content="#1a1a1a" name="theme-color">
<meta content="https://cdn.glitch.global/d68d17bb-f2c0-4bc3-993f-50902734f652/aa70111e-5bcd-4379-8b23-332a33012b78.image.png?v=1701898829884" property=og:image>
<meta content=summary_large_image name=twitter:card>
<meta content="#1a1a1a" name="theme-color">
<style>
a.class:hover {
text-decoration:underline;