1
Fork 0

fix darkreader making everything worse: p5

This commit is contained in:
Ashley //// 2024-01-30 15:43:23 +00:00
parent 6d6a070b35
commit b296ac1b6b

View file

@ -31,6 +31,7 @@
<link rel="alternate" type="application/rss+xml" href="/feeds/videos.xml?channel_id=<%=ID%>"> <link rel="alternate" type="application/rss+xml" href="/feeds/videos.xml?channel_id=<%=ID%>">
<meta content="<%=j.Channel?.Metadata.Name%> - PokeTube" property=og:title> <meta content="<%=j.Channel?.Metadata.Name%> - PokeTube" property=og:title>
<meta content="<%- cinv.description %>" property=twitter:description> <meta content="<%- cinv.description %>" property=twitter:description>
<meta name="darkreader-lock"> <!-- tells dark reader that the site has a dark theme and to turn itself off -->
<% if (j.Channel?.Metadata.Banners.Thumbnail) { %> <% if (j.Channel?.Metadata.Banners.Thumbnail) { %>
<meta content="<%=j.Channel?.Metadata?.Banners.Thumbnail[2].$t%>" property=og:image> <meta content="<%=j.Channel?.Metadata?.Banners.Thumbnail[2].$t%>" property=og:image>
<% } %> <% } %>