From a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 19 Sep 2024 15:33:11 +0530 Subject: youtube fronend --- youtube/templates/channel.html | 133 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 youtube/templates/channel.html (limited to 'youtube/templates/channel.html') diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html new file mode 100644 index 0000000..c43f488 --- /dev/null +++ b/youtube/templates/channel.html @@ -0,0 +1,133 @@ +{% if current_tab == 'search' %} + {% set page_title = search_box_value + ' - Page ' + page_number|string %} +{% else %} + {% set page_title = channel_name|string + ' - Channel' %} +{% endif %} + +{% extends "base.html" %} +{% import "common_elements.html" as common_elements %} +{% block style %} + + +{% endblock style %} + +{% block main %} + +
+
+ {{ channel_name }} +

{{ channel_name }}

+
+
+

{{ short_description }}

+
+ +
+
+ + + {% if current_tab == 'about' %} +
+ +
+

Description

+
{{ common_elements.text_runs(description) }}
+
+ +
+ {% else %} + + + + +
+ {% for item_info in items %} + {{ common_elements.item(item_info, include_author=false) }} + {% endfor %} +
+
+ + + + {% endif %} + +{% endblock main %} -- cgit v1.2.3-59-g8ed1b