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.144.2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
13 hours ago

Tools for package owners.