check if posts are available before trying to build the dates-archive
check search results if page or post
fix blueprint names