Add blog functionality with pagination, use site url for script path for index.