URI: 
       Add data-no-instant to livereload script tag - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit be1287fba05fb87e80aaf3c277dd7c74408375e2
   DIR parent be5fa2f3bd54b1d79cf078bb9c1d0af6e7715b26
  HTML Author: bep <bjorn.erik.pedersen@gmail.com>
       Date:   Tue, 12 May 2015 19:49:44 +0200
       
       Add data-no-instant to livereload script tag
       
       To support instantclick.
       
       Fixes #1135
       
       Diffstat:
         M transform/livereloadinject.go       |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/transform/livereloadinject.go b/transform/livereloadinject.go
       @@ -8,7 +8,7 @@ import (
        func LiveReloadInject(ct contentTransformer) {
                match := []byte("</body>")
                port := viper.GetString("port")
       -        replace := []byte(`<script>document.write('<script src="http://'
       +        replace := []byte(`<script data-no-instant>document.write('<script src="http://'
                + (location.host || 'localhost').split(':')[0]
                        + ':` + port + `/livereload.js?mindelay=10"></'
                + 'script>')</script></body>`)