Minor variable name edit.

I just noticed a minor mistake in the template example for grouping entries by year.