some fixes, added rss feed link
This commit is contained in:
parent
4f9663a518
commit
d5a5f664f2
@ -25,7 +25,7 @@ with open(blog_index_path, "w") as blog_index_file:
|
|||||||
second_of_the_day = str(hex(int(((hour * 3600) + (minute * 60) + second) * (65536/86400))))[2:]
|
second_of_the_day = str(hex(int(((hour * 3600) + (minute * 60) + second) * (65536/86400))))[2:]
|
||||||
|
|
||||||
if current_blog == len(blogs.blogs_array)-1:
|
if current_blog == len(blogs.blogs_array)-1:
|
||||||
blog_index_file.write(f"{header.header}<br/><a href='/rss'>Rss Feed</a>")
|
blog_index_file.write(f"{header.header}<br/><a href='/rss'>RSS Feed</a>")
|
||||||
|
|
||||||
if previous_year != year:
|
if previous_year != year:
|
||||||
blog_index_file.write(f"<h2>{year}:</h2>")
|
blog_index_file.write(f"<h2>{year}:</h2>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user