Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'transform/absurl.go')
-rw-r--r--transform/absurl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/absurl.go b/transform/absurl.go
index fa1d99306..b4bd1dff4 100644
--- a/transform/absurl.go
+++ b/transform/absurl.go
@@ -17,7 +17,7 @@ func initAbsURLReplacer(baseURL string) {
func AbsURL(absURL string) (trs []link, err error) {
initAbsURLReplacer(absURL)
- trs = append(trs, func(rw ContentReWriter) {
+ trs = append(trs, func(rw contentRewriter) {
ar.replaceInHTML(rw)
})
return
@@ -26,7 +26,7 @@ func AbsURL(absURL string) (trs []link, err error) {
func AbsURLInXML(absURL string) (trs []link, err error) {
initAbsURLReplacer(absURL)
- trs = append(trs, func(rw ContentReWriter) {
+ trs = append(trs, func(rw contentRewriter) {
ar.replaceInXML(rw)
})
return