moved get template part from header to index