switch layout if body is not in markdown