mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Un-export ContentReWriter
This commit is contained in:
parent
98ee69bce2
commit
e7099cfa26
5 changed files with 14 additions and 14 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
func LiveReloadInject(rw ContentReWriter) {
|
||||
func LiveReloadInject(rw contentRewriter) {
|
||||
match := []byte("</body>")
|
||||
port := viper.GetString("port")
|
||||
replace := []byte(`<script>document.write('<script src="http://'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue