OK now we actually write out our type, on the line after title (if any)

This commit is contained in:
benjamin melançon 2024-06-25 02:46:46 -04:00
parent 8b237a7038
commit ff3d7baf92

View file

@ -30,7 +30,7 @@ def rewrite_file(filepath):
w.write("title:: " + title + "\n") w.write("title:: " + title + "\n")
w.write("\n") w.write("\n")
continue continue
if (i == 5): if (i == 6):
# Types of postable-posted, email-draft, email-sent set when running this for each subdirectory # Types of postable-posted, email-draft, email-sent set when running this for each subdirectory
w.write("type:: postable-draft\n") w.write("type:: postable-draft\n")
if (i > 5 and line == "\"\"\"\n"): if (i > 5 and line == "\"\"\"\n"):