Fix template error with no lead image