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.2
Published
Jan 5, 2024
Platform
linux/amd64
Imports
7 packages
Last checked
7 hours ago

Tools for package owners.