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.132.0
Published
Aug 12, 2024
Platform
windows/amd64
Imports
7 packages
Last checked
58 minutes ago

Tools for package owners.