Load default layout from config now
fix output error of missing $template