diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 21:20:31 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 21:20:31 -0800 |
commit | 01058959e1e90cac44ea091c4da428870e78865f (patch) | |
tree | 237aa38796e1d11f003ebdacc92a59761304e70a /pyblog | |
parent | f818d439160c8f06add42dd10cfcdbddc71b04d7 (diff) | |
download | my_new_personal_website-01058959e1e90cac44ea091c4da428870e78865f.tar.xz my_new_personal_website-01058959e1e90cac44ea091c4da428870e78865f.zip |
pyblog: new_post: Write a blank line after the YAML block
Diffstat (limited to '')
-rwxr-xr-x | pyblog | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |