add conditional logic to banner.html