pass metadata to truncated template, date on the index, layout