forked from indymedia/epicyon
rss icon at end of page
parent
da60e16b83
commit
eda4cae521
12
blog.py
12
blog.py
|
@ -349,12 +349,6 @@ def htmlBlogPage(authorized: bool, session, \
|
|||
navigateStr+='</p>'
|
||||
blogStr+=navigateStr
|
||||
|
||||
# show rss link
|
||||
blogStr+='<center><p class="rssfeed">'
|
||||
blogStr+='<a href="'+httpPrefix+'://'+domainFull+'/blog/rss.xml">'
|
||||
blogStr+='<img loading="lazy" alt="RSS" title="RSS" src="/'+iconsDir+'/rss.png" />'
|
||||
blogStr+='</a></p></center>'
|
||||
|
||||
for item in timelineJson['orderedItems']:
|
||||
if item['type']!='Create':
|
||||
continue
|
||||
|
@ -367,6 +361,12 @@ def htmlBlogPage(authorized: bool, session, \
|
|||
if len(timelineJson['orderedItems'])>=noOfItems:
|
||||
blogStr+=navigateStr
|
||||
|
||||
# show rss link
|
||||
blogStr+='<p class="rssfeed">'
|
||||
blogStr+='<a href="'+httpPrefix+'://'+domainFull+'/blog/rss.xml">'
|
||||
blogStr+='<img loading="lazy" alt="RSS" title="RSS" src="/'+iconsDir+'/rss.png" />'
|
||||
blogStr+='</a></p>'
|
||||
|
||||
return blogStr+htmlFooter()
|
||||
return None
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ a:link {
|
|||
|
||||
.rssfeed img {
|
||||
width: 5%;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.ssbaddr {
|
||||
|
|
Loading…
Reference in New Issue