diff --git a/automations/write_blog_pages.py b/automations/write_blog_pages.py index e7dc363..b152cf4 100644 --- a/automations/write_blog_pages.py +++ b/automations/write_blog_pages.py @@ -35,11 +35,16 @@ with open(blog_index_path, "w") as blog_index_file: # Also write all the blogs to their respective pages with open(f"{root.path}{blog_file_path}","w") as current_blog_file: + images_div = "" + for i in blogs.blogs_array[current_blog][3]: + images_div += f'\n' content = f''' {header.header} -{blogs.blogs_array[current_blog][0]}: +{blogs.blogs_array[current_blog][0]}: {blogs.blogs_array[current_blog][1]} + Published: {day}/{year} at {second_of_the_day} +{images_div}