hugo/helpers
Dan Hersam 523f38a9a8 Fix for issue 839 and 490 on Windows
The paths were seen as changed but not static because of the backslashes in
ev.Name. Once the backslashes were added, I discovered that the JSON
sent to livereload was invalid and failed to work because it had backslashes.

Hence the code to replace the backslashes from the path to make them work
in JSON and for the URL.

With this fix, changes to a stylesheet are shown on the page, and if it's a
single file that changed, it's reflected in the browser without reloading the whole
page.
2015-01-30 14:18:17 +01:00
..
content.go Add site-wide/per-page [blackfriday] extensions option 2015-01-26 09:55:37 +01:00
content_test.go Add more tests to helper 2015-01-27 10:15:57 +01:00
general.go Wrap comments helpers package to fit 80-column width 2014-12-26 08:07:03 -07:00
general_test.go Add more tests to general helper 2015-01-20 18:13:47 +01:00
path.go Fix for issue 839 and 490 on Windows 2015-01-30 14:18:17 +01:00
path_test.go Use runtime.GOOS to identify Windows specific path tests 2015-01-27 23:01:32 +01:00
pygments.go Wrap comments helpers package to fit 80-column width 2014-12-26 08:07:03 -07:00
url.go ignore root path, no need strip traling slash 2015-01-28 09:43:43 +01:00
url_test.go ignore root path, no need strip traling slash 2015-01-28 09:43:43 +01:00