hugo/transform/absurl.go

12 lines
204 B
Go
Raw Normal View History

2013-10-01 15:59:29 -04:00
package transform
var ar *absURLReplacer = newAbsURLReplacer()
2013-10-01 15:59:29 -04:00
var AbsURL = func(ct contentTransformer) {
ar.replaceInHTML(ct)
}
var AbsURLInXML = func(ct contentTransformer) {
ar.replaceInXML(ct)
}