Invidious is an alternative front-end to YouTube
Add description to channel pages
Omar Rothf71d5c429d4e
diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecrindex 624dbe9c..9e7ec88c 100644--- a/src/invidious/views/channel.ecr+++ b/src/invidious/views/channel.ecr@@ -27,6 +27,10 @@</div></div>+<div class="h-box">+ <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+</div>+<div class="h-box"><% ucid = channel.ucid %><% author = channel.author %>diff --git a/src/invidious/views/community.ecr b/src/invidious/views/community.ecrindex 705d06a8..732ae9bd 100644--- a/src/invidious/views/community.ecr+++ b/src/invidious/views/community.ecr@@ -26,6 +26,10 @@</div></div>+<div class="h-box">+ <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+</div>+<div class="h-box"><% ucid = channel.ucid %><% author = channel.author %>diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecrindex 1825bb48..216f4475 100644--- a/src/invidious/views/playlists.ecr+++ b/src/invidious/views/playlists.ecr@@ -26,6 +26,10 @@</div></div>+<div class="h-box">+ <p><span style="white-space:pre"><%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %></span></p>+</div>+<div class="h-box"><% ucid = channel.ucid %><% author = channel.author %>