Fix post title bug

If user forgets to add title to a post, it will be replaced by a
default title instead of leaving it empty string.

Fixed #30