Change template layout.