From 1587ec040478a8a9995da9253c8e9b2a9547c82d Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Thu, 13 Jan 2022 15:40:54 +0000
Subject: [PATCH] Show hashtag categories on podcast screen
---
webapp_podcast.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/webapp_podcast.py b/webapp_podcast.py
index cf43a1ed1..1f30c36d2 100644
--- a/webapp_podcast.py
+++ b/webapp_podcast.py
@@ -221,6 +221,14 @@ def html_podcast_episode(css_cache: {}, translate: {},
'">
\n'
+ if podcast_properties['categories']:
+ podcast_str += ''
+ tags_str = ''
+ for tag in podcast_properties['categories']:
+ tag_link = '/users/' + nickname + '/tags/' + tag.replace('#', '')
+ tags_str += '' + tag + ' '
+ podcast_str += tags_str.strip() + '
\n'
+
podcast_str += _html_podcast_performers(podcast_properties)
podcast_str += ' \n'