variablize index.hamlet