Edited index.tpl