refactor badwolf theme to use helper variables