Update generators.py

Allow the use of {category}, {author} and/or {lang} for period archive generations.

Currently only {date} is supported.