whitespace-only title results in broken behavior
jbclements opened this issue · comments
It turns out that you can make a post with a whitespace-only title. It looks like the existing code then puts the post in the top level for the day. So, for instance, if I have a file called
_src/posts/2018-03-08-temp2.md
That contains the code:
Title:
Date: 2018-03-08T09:26:05
Tags:
ABCD
... (there's about 5 spaces after the Title: tag), it generates the output in
public_html/blog/2018/03/08/index.html
which definitely my expectations about how frog works.
It would seem to me to be a Good Idea (tm) to forbid posts whose titles don't contain at least one printing character.
Thoughts?
Sounds good. Many thanks!