Gannett and McClatchy made digital gains at the end of 2016