add subject and before blocks to static_pages_spec and helper method in spec/support for title