mirror of https://gitlab.com/bashrc2/epicyon
Check that tag exists
parent
bb4f2cf3f0
commit
a9bbb6fb87
|
|
@ -500,6 +500,8 @@ def html_podcast_episode(translate: {},
|
||||||
tags_str = ''
|
tags_str = ''
|
||||||
for tag in podcast_properties['categories']:
|
for tag in podcast_properties['categories']:
|
||||||
tag = tag.replace('#', '')
|
tag = tag.replace('#', '')
|
||||||
|
if not tag:
|
||||||
|
continue
|
||||||
tag_link = '/users/' + nickname + '/tags/' + tag
|
tag_link = '/users/' + nickname + '/tags/' + tag
|
||||||
tags_str += \
|
tags_str += \
|
||||||
'#<a href="' + tag_link + '">' + \
|
'#<a href="' + tag_link + '">' + \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue