hugo/transform/absurl.go

12 lines
204 B
Go
Raw Normal View History

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