Blog example rewritten using extend template.