fixed base template vars in static.py