Update blog template to use general blocks methods.

This has been done to make this template reusable.