From 01058959e1e90cac44ea091c4da428870e78865f Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 8 Jan 2016 21:20:31 -0800 Subject: pyblog: new_post: Write a blank line after the YAML block --- pyblog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyblog b/pyblog index 8438bc71..31b72c91 100755 --- a/pyblog +++ b/pyblog @@ -905,7 +905,7 @@ def new_post(title): newpost.write('title: "%s"\n' % title) newpost.write("date: %s\n" % iso_date) newpost.write("date_display: %s\n" % display_date) - newpost.write("---\n") + newpost.write("---\n\n") sys.stderr.write("New post created in:\n") print(fullpath) edit_post_with_editor(fullpath) -- cgit v1.2.1