Giving nationwide declined significantly during the Great Recession but changed little during other recent downturns.