Update generators.py

Allow the use of {category}, {author} and/or {lang} for period archive generations.