update the variable type of `op/publish-html-header-template'
improve the site index page generation
separate html template from code
remove extra characters