refactored to allow block content
index templates extending from layout