Refactor favicon block