generalize the code to look for a default favicon (#2000)
course preview page template, and there, use it (#2000)