rss icon at end of page

This commit is contained in:
bashrc committed 2020-02-27 20:27:44 +00:00
1 parent da60e16b83
commit eda4cae521
2 files changed
+7 -6

No files matched your search

+6 -6
View File
@@ -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
+1
View File
@@ -92,6 +92,7 @@ a:link {
.rssfeed img {
width: 5%;
float: right;
}
.ssbaddr {