summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/cast/docshelper.go6
-rw-r--r--tpl/cast/init.go4
-rw-r--r--tpl/cast/init_test.go4
-rw-r--r--tpl/collections/apply.go2
-rw-r--r--tpl/collections/apply_test.go4
-rw-r--r--tpl/collections/collections.go4
-rw-r--r--tpl/collections/collections_test.go8
-rw-r--r--tpl/collections/index_test.go2
-rw-r--r--tpl/collections/init.go4
-rw-r--r--tpl/collections/init_test.go4
-rw-r--r--tpl/collections/sort.go2
-rw-r--r--tpl/collections/sort_test.go2
-rw-r--r--tpl/collections/where_test.go2
-rw-r--r--tpl/compare/init.go4
-rw-r--r--tpl/compare/init_test.go4
-rw-r--r--tpl/crypto/init.go4
-rw-r--r--tpl/crypto/init_test.go4
-rw-r--r--tpl/data/cache.go4
-rw-r--r--tpl/data/data.go2
-rw-r--r--tpl/data/init.go4
-rw-r--r--tpl/data/init_test.go4
-rw-r--r--tpl/data/resources.go4
-rw-r--r--tpl/data/resources_test.go8
-rw-r--r--tpl/encoding/init.go4
-rw-r--r--tpl/encoding/init_test.go4
-rw-r--r--tpl/fmt/init.go4
-rw-r--r--tpl/fmt/init_test.go4
-rw-r--r--tpl/images/images.go2
-rw-r--r--tpl/images/images_test.go4
-rw-r--r--tpl/images/init.go4
-rw-r--r--tpl/images/init_test.go4
-rw-r--r--tpl/inflect/init.go4
-rw-r--r--tpl/inflect/init_test.go4
-rw-r--r--tpl/internal/templatefuncsRegistry.go2
-rw-r--r--tpl/lang/init.go4
-rw-r--r--tpl/lang/init_test.go4
-rw-r--r--tpl/lang/lang.go2
-rw-r--r--tpl/lang/lang_test.go2
-rw-r--r--tpl/math/init.go4
-rw-r--r--tpl/math/init_test.go4
-rw-r--r--tpl/os/init.go4
-rw-r--r--tpl/os/init_test.go4
-rw-r--r--tpl/os/os.go2
-rw-r--r--tpl/os/os_test.go4
-rw-r--r--tpl/partials/init.go4
-rw-r--r--tpl/partials/init_test.go4
-rw-r--r--tpl/partials/partials.go4
-rw-r--r--tpl/safe/init.go4
-rw-r--r--tpl/safe/init_test.go4
-rw-r--r--tpl/safe/safe.go2
-rw-r--r--tpl/strings/init.go4
-rw-r--r--tpl/strings/init_test.go4
-rw-r--r--tpl/strings/strings.go4
-rw-r--r--tpl/strings/strings_test.go2
-rw-r--r--tpl/template.go2
-rw-r--r--tpl/time/init.go4
-rw-r--r--tpl/time/init_test.go4
-rw-r--r--tpl/tplimpl/template.go8
-rw-r--r--tpl/tplimpl/templateFuncster.go4
-rw-r--r--tpl/tplimpl/templateProvider.go2
-rw-r--r--tpl/tplimpl/template_funcs.go38
-rw-r--r--tpl/tplimpl/template_funcs_test.go14
-rw-r--r--tpl/transform/init.go4
-rw-r--r--tpl/transform/init_test.go4
-rw-r--r--tpl/transform/transform.go4
-rw-r--r--tpl/transform/transform_test.go8
-rw-r--r--tpl/urls/init.go4
-rw-r--r--tpl/urls/init_test.go4
-rw-r--r--tpl/urls/urls.go2
69 files changed, 153 insertions, 153 deletions
diff --git a/tpl/cast/docshelper.go b/tpl/cast/docshelper.go
index fbbc8c4bb..e77c83d28 100644
--- a/tpl/cast/docshelper.go
+++ b/tpl/cast/docshelper.go
@@ -14,9 +14,9 @@
package cast
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/docshelper"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/docshelper"
+ "github.com/gohugoio/hugo/tpl/internal"
)
// This file provides documentation support and is randomly put into this package.
diff --git a/tpl/cast/init.go b/tpl/cast/init.go
index 57573e188..d1547310c 100644
--- a/tpl/cast/init.go
+++ b/tpl/cast/init.go
@@ -14,8 +14,8 @@
package cast
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "cast"
diff --git a/tpl/cast/init_test.go b/tpl/cast/init_test.go
index e52ef6750..47cbd3d0b 100644
--- a/tpl/cast/init_test.go
+++ b/tpl/cast/init_test.go
@@ -16,8 +16,8 @@ package cast
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/collections/apply.go b/tpl/collections/apply.go
index 562d70828..c3c3a297b 100644
--- a/tpl/collections/apply.go
+++ b/tpl/collections/apply.go
@@ -19,7 +19,7 @@ import (
"reflect"
"strings"
- "github.com/spf13/hugo/tpl"
+ "github.com/gohugoio/hugo/tpl"
)
// Apply takes a map, array, or slice and returns a new slice with the function fname applied over it.
diff --git a/tpl/collections/apply_test.go b/tpl/collections/apply_test.go
index ee570993e..de24b06c8 100644
--- a/tpl/collections/apply_test.go
+++ b/tpl/collections/apply_test.go
@@ -18,8 +18,8 @@ import (
"fmt"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go
index 06ed788ca..2a29062d7 100644
--- a/tpl/collections/collections.go
+++ b/tpl/collections/collections.go
@@ -24,8 +24,8 @@ import (
"time"
"github.com/spf13/cast"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/helpers"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/helpers"
)
// New returns a new instance of the collections-namespaced template functions.
diff --git a/tpl/collections/collections_test.go b/tpl/collections/collections_test.go
index 52b4cdf59..64c358ddd 100644
--- a/tpl/collections/collections_test.go
+++ b/tpl/collections/collections_test.go
@@ -25,10 +25,10 @@ import (
"testing"
"time"
- "github.com/spf13/hugo/config"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/helpers"
- "github.com/spf13/hugo/hugofs"
+ "github.com/gohugoio/hugo/config"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/helpers"
+ "github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
diff --git a/tpl/collections/index_test.go b/tpl/collections/index_test.go
index 211a24e12..b9261735f 100644
--- a/tpl/collections/index_test.go
+++ b/tpl/collections/index_test.go
@@ -17,7 +17,7 @@ import (
"fmt"
"testing"
- "github.com/spf13/hugo/deps"
+ "github.com/gohugoio/hugo/deps"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/collections/init.go b/tpl/collections/init.go
index 25ef64e1a..4a7c2d875 100644
--- a/tpl/collections/init.go
+++ b/tpl/collections/init.go
@@ -14,8 +14,8 @@
package collections
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "collections"
diff --git a/tpl/collections/init_test.go b/tpl/collections/init_test.go
index da2249678..0739f0412 100644
--- a/tpl/collections/init_test.go
+++ b/tpl/collections/init_test.go
@@ -16,8 +16,8 @@ package collections
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/collections/sort.go b/tpl/collections/sort.go
index 79ed39913..36faf207e 100644
--- a/tpl/collections/sort.go
+++ b/tpl/collections/sort.go
@@ -20,7 +20,7 @@ import (
"strings"
"github.com/spf13/cast"
- "github.com/spf13/hugo/tpl/compare"
+ "github.com/gohugoio/hugo/tpl/compare"
)
var comp = compare.New()
diff --git a/tpl/collections/sort_test.go b/tpl/collections/sort_test.go
index 93a4d9da2..8db928f2d 100644
--- a/tpl/collections/sort_test.go
+++ b/tpl/collections/sort_test.go
@@ -17,7 +17,7 @@ import (
"reflect"
"testing"
- "github.com/spf13/hugo/deps"
+ "github.com/gohugoio/hugo/deps"
)
func TestSort(t *testing.T) {
diff --git a/tpl/collections/where_test.go b/tpl/collections/where_test.go
index aee56757e..771fafb61 100644
--- a/tpl/collections/where_test.go
+++ b/tpl/collections/where_test.go
@@ -19,7 +19,7 @@ import (
"testing"
"time"
- "github.com/spf13/hugo/deps"
+ "github.com/gohugoio/hugo/deps"
)
func TestWhere(t *testing.T) {
diff --git a/tpl/compare/init.go b/tpl/compare/init.go
index cc64dcf90..fbc5e1fda 100644
--- a/tpl/compare/init.go
+++ b/tpl/compare/init.go
@@ -14,8 +14,8 @@
package compare
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "compare"
diff --git a/tpl/compare/init_test.go b/tpl/compare/init_test.go
index 3303e4f23..65e59b1aa 100644
--- a/tpl/compare/init_test.go
+++ b/tpl/compare/init_test.go
@@ -16,8 +16,8 @@ package compare
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/crypto/init.go b/tpl/crypto/init.go
index 08421e1b2..db6a5f92c 100644
--- a/tpl/crypto/init.go
+++ b/tpl/crypto/init.go
@@ -14,8 +14,8 @@
package crypto
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "crypto"
diff --git a/tpl/crypto/init_test.go b/tpl/crypto/init_test.go
index 755f162d0..852a90a40 100644
--- a/tpl/crypto/init_test.go
+++ b/tpl/crypto/init_test.go
@@ -16,8 +16,8 @@ package crypto
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/data/cache.go b/tpl/data/cache.go
index 37990f124..a9b0f0138 100644
--- a/tpl/data/cache.go
+++ b/tpl/data/cache.go
@@ -19,8 +19,8 @@ import (
"sync"
"github.com/spf13/afero"
- "github.com/spf13/hugo/config"
- "github.com/spf13/hugo/helpers"
+ "github.com/gohugoio/hugo/config"
+ "github.com/gohugoio/hugo/helpers"
)
var cacheMu sync.RWMutex
diff --git a/tpl/data/data.go b/tpl/data/data.go
index ae0c7c216..0c75fdbb7 100644
--- a/tpl/data/data.go
+++ b/tpl/data/data.go
@@ -22,7 +22,7 @@ import (
"strings"
"time"
- "github.com/spf13/hugo/deps"
+ "github.com/gohugoio/hugo/deps"
jww "github.com/spf13/jwalterweatherman"
)
diff --git a/tpl/data/init.go b/tpl/data/init.go
index 5235714e9..3bdc02786 100644
--- a/tpl/data/init.go
+++ b/tpl/data/init.go
@@ -14,8 +14,8 @@
package data
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "data"
diff --git a/tpl/data/init_test.go b/tpl/data/init_test.go
index 66bb0b2be..6bb689a95 100644
--- a/tpl/data/init_test.go
+++ b/tpl/data/init_test.go
@@ -16,8 +16,8 @@ package data
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
)
diff --git a/tpl/data/resources.go b/tpl/data/resources.go
index 4a82cccab..bc9d4b7c4 100644
--- a/tpl/data/resources.go
+++ b/tpl/data/resources.go
@@ -22,8 +22,8 @@ import (
"time"
"github.com/spf13/afero"
- "github.com/spf13/hugo/config"
- "github.com/spf13/hugo/helpers"
+ "github.com/gohugoio/hugo/config"
+ "github.com/gohugoio/hugo/helpers"
jww "github.com/spf13/jwalterweatherman"
)
diff --git a/tpl/data/resources_test.go b/tpl/data/resources_test.go
index 42d719184..31e782362 100644
--- a/tpl/data/resources_test.go
+++ b/tpl/data/resources_test.go
@@ -24,10 +24,10 @@ import (
"time"
"github.com/spf13/afero"
- "github.com/spf13/hugo/config"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/helpers"
- "github.com/spf13/hugo/hugofs"
+ "github.com/gohugoio/hugo/config"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/helpers"
+ "github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tpl/encoding/init.go b/tpl/encoding/init.go
index 22f38cb20..bad1804de 100644
--- a/tpl/encoding/init.go
+++ b/tpl/encoding/init.go
@@ -14,8 +14,8 @@
package encoding
import (
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/internal"
+ "github.com/gohugoio/hugo/deps"
+ "github.com/gohugoio/hugo/tpl/internal"
)
const name = "encoding"
diff --git a/tpl/encoding/init_test.go b/tpl/encoding/init_test.go
index 7e40a6212..6bbee99fa 100644
--- a/tpl/encoding/init_test.go
+++ b/tpl/encoding/init_test.go
@@ -16,8 +16,8 @@ package encoding
import (
"testing"
- "github.com/spf13/hugo/deps"
- "github.com/spf13/hugo/tpl/intern