Added post archive pages
Fixed sort datetime
Introduced guard