Try adding dates back to posts.

pull/58/head
Jason J. Gullickson 4 years ago
parent b5b31e15fe
commit 7908c499c9

@ -10,7 +10,7 @@
<body>
<section>
<header>
<h1><span></span>{0} {3}</h1>
<h1><span>{3}</span>{0}</h1>
<h2><span><a style="color: red; text-decoration: none" href="./">{1}'s</a> Preposter.us Blog</span></h2>
</header>

@ -276,7 +276,7 @@ if uid_list[0] != '':
new_post = new_post.replace('{0}', post_title)
new_post = new_post.replace('{1}', post_author)
new_post = new_post.replace('{2}', post_body)
new_post = new_post.replace('{3}', '')
new_post = new_post.replace('{3}', post_date)
post_file = open(post_physical_path, 'w')
post_file.write(new_post)

Loading…
Cancel
Save