Revert "index html tries"

This reverts commit ad36d3a6872445c975c147a9aeeafbc99615407f.
getTemplates fix