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.136.2
Published
Oct 17, 2024
Platform
js/wasm
Imports
7 packages
Last checked
1 hour ago

Tools for package owners.