Fix resolve custom template directory in contentList