shithub: hugo

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