changed site_name to name in template as view uses name