Add jinja support in index files; Update dir context;