shithub: hugo

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