From f71d5c429d4e3abc4e6a7eaf461fd46587316121 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 31 Jul 2019 19:29:16 -0500 Subject: [PATCH] Add description to channel pages --- src/invidious/views/channel.ecr | 4 ++++ src/invidious/views/community.ecr | 4 ++++ src/invidious/views/playlists.ecr | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 624dbe9c..9e7ec88c 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -27,6 +27,10 @@ +
+

<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %>

+
+
<% ucid = channel.ucid %> <% author = channel.author %> diff --git a/src/invidious/views/community.ecr b/src/invidious/views/community.ecr index 705d06a8..732ae9bd 100644 --- a/src/invidious/views/community.ecr +++ b/src/invidious/views/community.ecr @@ -26,6 +26,10 @@
+
+

<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %>

+
+
<% ucid = channel.ucid %> <% author = channel.author %> diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecr index 1825bb48..216f4475 100644 --- a/src/invidious/views/playlists.ecr +++ b/src/invidious/views/playlists.ecr @@ -26,6 +26,10 @@
+
+

<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %>

+
+
<% ucid = channel.ucid %> <% author = channel.author %>