Integrate theme with layout