Fix issue with base menu template that crashed 404
Fix issue with base menu template that crashed 404

- A missing check before calling blogpit_path.startswith
  caused us to crash on 404.

equalsraf/flask-blogpit