Implements page class toggling.

- Toggles page class when post is marked as static/non-static