changed layout generator
Revert "changed layout generator"

This reverts commit 2d75f53c6841a88b6eb43c7e811498c7d9f8fe86.
added categories to written posts