shithub: hugo

ref: 99acbb2eb273500596a0da5b51b490fefc0829c4
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)
}