attempting to use differnt layouts depending on file location
removes the debug output from post.html