Compile the theme template