initial version of using jinja to create index
fixed update hook processing all files, not only .rmd files