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>'
|
navigateStr+='</p>'
|
||||||
blogStr+=navigateStr
|
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']:
|
for item in timelineJson['orderedItems']:
|
||||||
if item['type']!='Create':
|
if item['type']!='Create':
|
||||||
continue
|
continue
|
||||||
|
@ -367,6 +361,12 @@ def htmlBlogPage(authorized: bool, session, \
|
||||||
if len(timelineJson['orderedItems'])>=noOfItems:
|
if len(timelineJson['orderedItems'])>=noOfItems:
|
||||||
blogStr+=navigateStr
|
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 blogStr+htmlFooter()
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ a:link {
|
||||||
|
|
||||||
.rssfeed img {
|
.rssfeed img {
|
||||||
width: 5%;
|
width: 5%;
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ssbaddr {
|
.ssbaddr {
|
||||||
|
|
Loading…
Reference in New Issue