Fixed a bug where logged out user could not generate a blog template