add smarty block and include index; provide weak completion/goto for index on several conditions