Fixing templating issue with livereload and cleaning syntax