sidebar conditionals working in most pages

pushing this to get out of the post controller