add rss feed

This commit is contained in:
Ashley //// 2024-01-29 22:01:28 +00:00
parent a6778e5b00
commit 1ead8d5380

View file

@ -3,7 +3,7 @@
<!-- <!--
This Source Code Form is subject to the terms of the GNU General Public License: This Source Code Form is subject to the terms of the GNU General Public License:
Copyright (C) 2021-2023 POKETUBE (https://codeberg.org/Ashley/poketube) Copyright (C) 2021-2024 POKETUBE (https://codeberg.org/Ashley/poketube)
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -19,26 +19,23 @@
along with this program. If not, see https://www.gnu.org/licenses/. along with this program. If not, see https://www.gnu.org/licenses/.
--> -->
<!DOCTYPE html><html><head> <!DOCTYPE html><html><head>
<!-- 🐷 🎗️ -->
<% if (ID === "UCFAiFyGs6oDiF1Nf-rRJpZA") { %> <% if (ID === "UCFAiFyGs6oDiF1Nf-rRJpZA") { %>
<title>Technoblade Never Dies! - PokeTube</title> <title>Technoblade Never Dies! - PokeTube</title>
<% } %> <% } %>
<title><%=j.Channel?.Metadata.Name%> - PokeTube</title> <title><%=j.Channel?.Metadata.Name%> - PokeTube</title>
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="/manifest.json">
<link href=css/yt-ukraine.svg rel=icon> <link href="css/yt-ukraine.svg" rel=icon>
<meta content=website property=og:type> <meta content=website property=og:type>
<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>
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
<meta content="<%- cinv.description %>" property=twitter:description> <meta content="<%- cinv.description %>" property=twitter:description>
<% 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>
<% } %> <% } %>
<meta content=summary_large_image name=twitter:card> <meta content=summary_large_image name=twitter:card>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<style> <style>
* { * {
color:#fff color:#fff