This script generates a list of post with a prev next pagination to show posts of a specified day and category through urls segments