Changed if statement to reference variable in _config.yml