package livereloadinject

import "github.com/gohugoio/hugo/transform/livereloadinject"

Index

Functions

func New

func New(baseURL url.URL) transform.Transformer

New creates a function that can be used to inject a script tag for the livereload JavaScript at the start of an HTML document's head.

Source Files

livereloadinject.go

Version
v0.121.0
Published
Dec 5, 2023
Platform
js/wasm
Imports
7 packages
Last checked
2 hours ago

Tools for package owners.