Although this still works, the better approach would now be use a static site generator (I also built one called Sitegen) and host it at Netlify, Github Pages, S3, or any web server.
Go to sitegen
This project will help you create static websites quickly with the power of jinja2 templating system you can build your sites with layouts/macros and anything that jinja supports then generate your static html files.
Summary of things::
On development you access your dynamic site at http://localhost:8080/dev/ and all template files/folder starting with _ are skipped, useful for layouts.