Go fmt + move the console reading before calling the configuration
Use template for generating the theme because of browser cache issues