Correctly checks for post type before displaying footer.

Fixes #36.