Create folder based navigation or permalink in static site as well with Handlebars templating. We can write a automation script to do it in grunt/gulp with Handlebars script. To do this we will have to create a folder name same as the file and then create a index.html or default.html file in it.