hugo/transform/livereloadinject
Bjørn Erik Pedersen b3f0674b80
transform/livereloadinject: Add defer to livereload script tag
In #6821 we moved the loading from end of body to head to make Turbolinks and similar work.

This commit adds a defer attribute to avoid page parse blocking.
2020-01-31 08:15:22 +01:00
..
livereloadinject.go transform/livereloadinject: Add defer to livereload script tag 2020-01-31 08:15:22 +01:00
livereloadinject_test.go transform/livereloadinject: Add defer to livereload script tag 2020-01-31 08:15:22 +01:00