Update views/badge.py to look for SVG badges