rss icon after header

merge-requests/8/head
Bob Mottram 2020-12-01 22:21:33 +00:00
parent 4915c618e6
commit 65b9574ffa
1 changed files with 9 additions and 9 deletions

View File

@ -660,10 +660,17 @@ def htmlHashtagSearch(cssCache: {},
if nickname:
hashtagSearchForm += '<center>\n' + \
'<h1><a href="/users/' + nickname + '/search">#' + \
hashtag + '</a></h1>\n' + '</center>\n'
hashtag + '</a></h1>\n'
else:
hashtagSearchForm += '<center>\n' + \
'<h1>#' + hashtag + '</h1>\n' + '</center>\n'
'<h1>#' + hashtag + '</h1>\n'
# RSS link for hashtag feed
hashtagSearchForm += '<a href="/tags/rss2/' + hashtag + '">'
hashtagSearchForm += \
'<img style="width:3%;min-width:50px" ' + \
'loading="lazy" alt="RSS 2.0" title="RSS 2.0" src="/' + \
iconsPath + '/logorss.png" /></a></center>\n'
# edit the category for this hashtag
if isEditor(baseDir, nickname):
@ -686,13 +693,6 @@ def htmlHashtagSearch(cssCache: {},
hashtagSearchForm += ' </form>\n'
hashtagSearchForm += '</div>\n'
# RSS link for hashtag feed
hashtagSearchForm += '<center><a href="/tags/rss2/' + hashtag + '">'
hashtagSearchForm += \
'<img style="width:3%;min-width:50px" ' + \
'loading="lazy" alt="RSS 2.0" title="RSS 2.0" src="/' + \
iconsPath + '/logorss.png" /></a></center>\n'
if startIndex > 0:
# previous page link
hashtagSearchForm += \