shithub: hugo

ref: d4b6f9aca3c3c1ca02a52d34fba21104e0ca9a94
dir: /transform/absurl.go/

View raw version
package transform

var ar *absURLReplacer = newAbsURLReplacer()

var AbsURL = func(ct contentTransformer) {
	ar.replaceInHTML(ct)
}

var AbsURLInXML = func(ct contentTransformer) {
	ar.replaceInXML(ct)
}