RSS link on hashtag feed

main
Bob Mottram 2020-09-26 20:14:04 +01:00
parent 5c327fbab8
commit f3d0a962c0
1 changed files with 6 additions and 0 deletions

View File

@ -766,6 +766,12 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int,
hashtagSearchForm += '<center>\n' + \
'<h1>#' + hashtag + '</h1>\n' + '</center>\n'
# RSS link for hashtag feed
hashtagSearchForm += '<center><a href="/tags/rss2/' + hashtag + '">'
hashtagSearchForm += '<img loading="lazy" alt="RSS 2.0" ' + \
'title="RSS 2.0" src="/' + \
iconsDir + '/rss.png" /></a></center>'
if startIndex > 0:
# previous page link
hashtagSearchForm += \