Move default template directory from inline to constant to make it accessible for UI output