From d8717cd4c74e80ea8e20adead9321412a2d76022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 13 Jun 2017 18:42:45 +0200 Subject: all: Update import paths to gohugoio/hugo --- tpl/cast/docshelper.go | 6 +++--- tpl/cast/init.go | 4 ++-- tpl/cast/init_test.go | 4 ++-- tpl/collections/apply.go | 2 +- tpl/collections/apply_test.go | 4 ++-- tpl/collections/collections.go | 4 ++-- tpl/collections/collections_test.go | 8 ++++---- tpl/collections/index_test.go | 2 +- tpl/collections/init.go | 4 ++-- tpl/collections/init_test.go | 4 ++-- tpl/collections/sort.go | 2 +- tpl/collections/sort_test.go | 2 +- tpl/collections/where_test.go | 2 +- tpl/compare/init.go | 4 ++-- tpl/compare/init_test.go | 4 ++-- tpl/crypto/init.go | 4 ++-- tpl/crypto/init_test.go | 4 ++-- tpl/data/cache.go | 4 ++-- tpl/data/data.go | 2 +- tpl/data/init.go | 4 ++-- tpl/data/init_test.go | 4 ++-- tpl/data/resources.go | 4 ++-- tpl/data/resources_test.go | 8 ++++---- tpl/encoding/init.go | 4 ++-- tpl/encoding/init_test.go | 4 ++-- tpl/fmt/init.go | 4 ++-- tpl/fmt/init_test.go | 4 ++-- tpl/images/images.go | 2 +- tpl/images/images_test.go | 4 ++-- tpl/images/init.go | 4 ++-- tpl/images/init_test.go | 4 ++-- tpl/inflect/init.go | 4 ++-- tpl/inflect/init_test.go | 4 ++-- tpl/internal/templatefuncsRegistry.go | 2 +- tpl/lang/init.go | 4 ++-- tpl/lang/init_test.go | 4 ++-- tpl/lang/lang.go | 2 +- tpl/lang/lang_test.go | 2 +- tpl/math/init.go | 4 ++-- tpl/math/init_test.go | 4 ++-- tpl/os/init.go | 4 ++-- tpl/os/init_test.go | 4 ++-- tpl/os/os.go | 2 +- tpl/os/os_test.go | 4 ++-- tpl/partials/init.go | 4 ++-- tpl/partials/init_test.go | 4 ++-- tpl/partials/partials.go | 4 ++-- tpl/safe/init.go | 4 ++-- tpl/safe/init_test.go | 4 ++-- tpl/safe/safe.go | 2 +- tpl/strings/init.go | 4 ++-- tpl/strings/init_test.go | 4 ++-- tpl/strings/strings.go | 4 ++-- tpl/strings/strings_test.go | 2 +- tpl/template.go | 2 +- tpl/time/init.go | 4 ++-- tpl/time/init_test.go | 4 ++-- tpl/tplimpl/template.go | 8 ++++---- tpl/tplimpl/templateFuncster.go | 4 ++-- tpl/tplimpl/templateProvider.go | 2 +- tpl/tplimpl/template_funcs.go | 38 +++++++++++++++++------------------ tpl/tplimpl/template_funcs_test.go | 14 ++++++------- tpl/transform/init.go | 4 ++-- tpl/transform/init_test.go | 4 ++-- tpl/transform/transform.go | 4 ++-- tpl/transform/transform_test.go | 8 ++++---- tpl/urls/init.go | 4 ++-- tpl/urls/init_test.go | 4 ++-- tpl/urls/urls.go | 2 +- 69 files changed, 153 insertions(+), 153 deletions(-) (limited to 'tpl') 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/internal" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/tpl/internal" "github.com/stretchr/testify/require" ) diff --git a/tpl/fmt/init.go b/tpl/fmt/init.go index a9348f8bf..a3398b862 100644 --- a/tpl/fmt/init.go +++ b/tpl/fmt/init.go @@ -14,8 +14,8 @@ package fmt 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 = "fmt" diff --git a/tpl/fmt/init_test.go b/tpl/fmt/init_test.go index dbc6e9701..01eb2fa69 100644 --- a/tpl/fmt/init_test.go +++ b/tpl/fmt/init_test.go @@ -16,8 +16,8 @@ package fmt 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/images/images.go b/tpl/images/images.go index d08033f2d..69bc77a34 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -24,7 +24,7 @@ import ( _ "image/png" "github.com/spf13/cast" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) // New returns a new instance of the images-namespaced template functions. diff --git a/tpl/images/images_test.go b/tpl/images/images_test.go index 964d3fb91..6fa93b106 100644 --- a/tpl/images/images_test.go +++ b/tpl/images/images_test.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/afero" "github.com/spf13/cast" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/hugofs" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/hugofs" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tpl/images/init.go b/tpl/images/init.go index 4a367b00c..299c76846 100644 --- a/tpl/images/init.go +++ b/tpl/images/init.go @@ -14,8 +14,8 @@ package images 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 = "images" diff --git a/tpl/images/init_test.go b/tpl/images/init_test.go index 2525fecb8..8a867f9d3 100644 --- a/tpl/images/init_test.go +++ b/tpl/images/init_test.go @@ -16,8 +16,8 @@ package images 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/inflect/init.go b/tpl/inflect/init.go index 71884c649..3f258356b 100644 --- a/tpl/inflect/init.go +++ b/tpl/inflect/init.go @@ -14,8 +14,8 @@ package inflect 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 = "inflect" diff --git a/tpl/inflect/init_test.go b/tpl/inflect/init_test.go index b24d7af33..cbcd312c7 100644 --- a/tpl/inflect/init_test.go +++ b/tpl/inflect/init_test.go @@ -16,8 +16,8 @@ package inflect 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/internal/templatefuncsRegistry.go b/tpl/internal/templatefuncsRegistry.go index 1ecdeca94..85d8c0b3b 100644 --- a/tpl/internal/templatefuncsRegistry.go +++ b/tpl/internal/templatefuncsRegistry.go @@ -31,7 +31,7 @@ import ( "strings" "sync" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) var TemplateFuncsNamespaceRegistry []func(d *deps.Deps) *TemplateFuncsNamespace diff --git a/tpl/lang/init.go b/tpl/lang/init.go index d0efa6997..6a23cdc4c 100644 --- a/tpl/lang/init.go +++ b/tpl/lang/init.go @@ -14,8 +14,8 @@ package lang 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 = "lang" diff --git a/tpl/lang/init_test.go b/tpl/lang/init_test.go index a32fa0ae4..fc4893ad0 100644 --- a/tpl/lang/init_test.go +++ b/tpl/lang/init_test.go @@ -16,8 +16,8 @@ package lang 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/lang/lang.go b/tpl/lang/lang.go index 45a640d7a..0442e4dec 100644 --- a/tpl/lang/lang.go +++ b/tpl/lang/lang.go @@ -20,7 +20,7 @@ import ( "strings" "github.com/spf13/cast" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) // New returns a new instance of the lang-namespaced template functions. diff --git a/tpl/lang/lang_test.go b/tpl/lang/lang_test.go index 45ed506b7..c494fd03a 100644 --- a/tpl/lang/lang_test.go +++ b/tpl/lang/lang_test.go @@ -4,7 +4,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/math/init.go b/tpl/math/init.go index 7b2d319f2..3faf0e3a6 100644 --- a/tpl/math/init.go +++ b/tpl/math/init.go @@ -14,8 +14,8 @@ package math 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 = "math" diff --git a/tpl/math/init_test.go b/tpl/math/init_test.go index 3204b35e3..f1882c1a2 100644 --- a/tpl/math/init_test.go +++ b/tpl/math/init_test.go @@ -16,8 +16,8 @@ package math 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/os/init.go b/tpl/os/init.go index e0bcda140..3fc3308f2 100644 --- a/tpl/os/init.go +++ b/tpl/os/init.go @@ -14,8 +14,8 @@ package os 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 = "os" diff --git a/tpl/os/init_test.go b/tpl/os/init_test.go index 954e4cde2..08d816cdf 100644 --- a/tpl/os/init_test.go +++ b/tpl/os/init_test.go @@ -16,8 +16,8 @@ package os 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/os/os.go b/tpl/os/os.go index 03e16e5a9..4addae5a6 100644 --- a/tpl/os/os.go +++ b/tpl/os/os.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/afero" "github.com/spf13/cast" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) // New returns a new instance of the os-namespaced template functions. diff --git a/tpl/os/os_test.go b/tpl/os/os_test.go index 166df5e51..772fcb76a 100644 --- a/tpl/os/os_test.go +++ b/tpl/os/os_test.go @@ -19,8 +19,8 @@ import ( "testing" "github.com/spf13/afero" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/hugofs" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/hugofs" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tpl/partials/init.go b/tpl/partials/init.go index 496deed89..eca93783c 100644 --- a/tpl/partials/init.go +++ b/tpl/partials/init.go @@ -14,8 +14,8 @@ package partials 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 = "partials" diff --git a/tpl/partials/init_test.go b/tpl/partials/init_test.go index f26067e3f..ef284a826 100644 --- a/tpl/partials/init_test.go +++ b/tpl/partials/init_test.go @@ -16,8 +16,8 @@ package partials 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/partials/partials.go b/tpl/partials/partials.go index fa4fa4e06..d6e9fc9c5 100644 --- a/tpl/partials/partials.go +++ b/tpl/partials/partials.go @@ -20,8 +20,8 @@ import ( "sync" texttemplate "text/template" - bp "github.com/spf13/hugo/bufferpool" - "github.com/spf13/hugo/deps" + bp "github.com/gohugoio/hugo/bufferpool" + "github.com/gohugoio/hugo/deps" ) var TestTemplateProvider deps.ResourceProvider diff --git a/tpl/safe/init.go b/tpl/safe/init.go index eb3ee6245..edb16ed87 100644 --- a/tpl/safe/init.go +++ b/tpl/safe/init.go @@ -14,8 +14,8 @@ package safe 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 = "safe" diff --git a/tpl/safe/init_test.go b/tpl/safe/init_test.go index eee8523d0..99305b53b 100644 --- a/tpl/safe/init_test.go +++ b/tpl/safe/init_test.go @@ -16,8 +16,8 @@ package safe 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/safe/safe.go b/tpl/safe/safe.go index de2718a98..49db9dd82 100644 --- a/tpl/safe/safe.go +++ b/tpl/safe/safe.go @@ -17,7 +17,7 @@ import ( "html/template" "github.com/spf13/cast" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" ) // New returns a new instance of the safe-namespaced template functions. diff --git a/tpl/strings/init.go b/tpl/strings/init.go index e40fe9d39..45d694b97 100644 --- a/tpl/strings/init.go +++ b/tpl/strings/init.go @@ -14,8 +14,8 @@ package strings 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 = "strings" diff --git a/tpl/strings/init_test.go b/tpl/strings/init_test.go index 22f4ba21f..a8ad8ffdf 100644 --- a/tpl/strings/init_test.go +++ b/tpl/strings/init_test.go @@ -16,8 +16,8 @@ package strings 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/strings/strings.go b/tpl/strings/strings.go index bba25677c..36af1a1c5 100644 --- a/tpl/strings/strings.go +++ b/tpl/strings/strings.go @@ -21,8 +21,8 @@ import ( "unicode/utf8" "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 strings-namespaced template functions. diff --git a/tpl/strings/strings_test.go b/tpl/strings/strings_test.go index 0c8919be6..ee10ac759 100644 --- a/tpl/strings/strings_test.go +++ b/tpl/strings/strings_test.go @@ -18,7 +18,7 @@ import ( "html/template" "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/template.go b/tpl/template.go index aa46a8ac2..2ee322498 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -21,7 +21,7 @@ import ( "html/template" texttemplate "text/template" - bp "github.com/spf13/hugo/bufferpool" + bp "github.com/gohugoio/hugo/bufferpool" ) var ( diff --git a/tpl/time/init.go b/tpl/time/init.go index d0c774a0f..db8294a6e 100644 --- a/tpl/time/init.go +++ b/tpl/time/init.go @@ -14,8 +14,8 @@ package time 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 = "time" diff --git a/tpl/time/init_test.go b/tpl/time/init_test.go index 4f4ee5de5..ed1091b5b 100644 --- a/tpl/time/init_test.go +++ b/tpl/time/init_test.go @@ -16,8 +16,8 @@ package time 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/tplimpl/template.go b/tpl/tplimpl/template.go index ae1ae6820..d92c4e269 100644 --- a/tpl/tplimpl/template.go +++ b/tpl/tplimpl/template.go @@ -24,15 +24,15 @@ import ( "os" - "github.com/spf13/hugo/output" + "github.com/gohugoio/hugo/output" "path/filepath" "sync" "github.com/spf13/afero" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/tpl" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/tpl" ) const ( diff --git a/tpl/tplimpl/templateFuncster.go b/tpl/tplimpl/templateFuncster.go index 656cd89d3..e6bbde8ec 100644 --- a/tpl/tplimpl/templateFuncster.go +++ b/tpl/tplimpl/templateFuncster.go @@ -19,8 +19,8 @@ import ( "strings" texttemplate "text/template" - bp "github.com/spf13/hugo/bufferpool" - "github.com/spf13/hugo/deps" + bp "github.com/gohugoio/hugo/bufferpool" + "github.com/gohugoio/hugo/deps" ) // Some of the template funcs are'nt entirely stateless. diff --git a/tpl/tplimpl/templateProvider.go b/tpl/tplimpl/templateProvider.go index 87cac01e5..5d5ee44b6 100644 --- a/tpl/tplimpl/templateProvider.go +++ b/tpl/tplimpl/templateProvider.go @@ -14,7 +14,7 @@ package tplimpl import ( - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) type TemplateProvider struct{} diff --git a/tpl/tplimpl/template_funcs.go b/tpl/tplimpl/template_funcs.go index 938f4531c..309a7b85f 100644 --- a/tpl/tplimpl/template_funcs.go +++ b/tpl/tplimpl/template_funcs.go @@ -18,27 +18,27 @@ package tplimpl import ( "html/template" - "github.com/spf13/hugo/tpl/internal" + "github.com/gohugoio/hugo/tpl/internal" // Init the namespaces - _ "github.com/spf13/hugo/tpl/cast" - _ "github.com/spf13/hugo/tpl/collections" - _ "github.com/spf13/hugo/tpl/compare" - _ "github.com/spf13/hugo/tpl/crypto" - _ "github.com/spf13/hugo/tpl/data" - _ "github.com/spf13/hugo/tpl/encoding" - _ "github.com/spf13/hugo/tpl/fmt" - _ "github.com/spf13/hugo/tpl/images" - _ "github.com/spf13/hugo/tpl/inflect" - _ "github.com/spf13/hugo/tpl/lang" - _ "github.com/spf13/hugo/tpl/math" - _ "github.com/spf13/hugo/tpl/os" - _ "github.com/spf13/hugo/tpl/partials" - _ "github.com/spf13/hugo/tpl/safe" - _ "github.com/spf13/hugo/tpl/strings" - _ "github.com/spf13/hugo/tpl/time" - _ "github.com/spf13/hugo/tpl/transform" - _ "github.com/spf13/hugo/tpl/urls" + _ "github.com/gohugoio/hugo/tpl/cast" + _ "github.com/gohugoio/hugo/tpl/collections" + _ "github.com/gohugoio/hugo/tpl/compare" + _ "github.com/gohugoio/hugo/tpl/crypto" + _ "github.com/gohugoio/hugo/tpl/data" + _ "github.com/gohugoio/hugo/tpl/encoding" + _ "github.com/gohugoio/hugo/tpl/fmt" + _ "github.com/gohugoio/hugo/tpl/images" + _ "github.com/gohugoio/hugo/tpl/inflect" + _ "github.com/gohugoio/hugo/tpl/lang" + _ "github.com/gohugoio/hugo/tpl/math" + _ "github.com/gohugoio/hugo/tpl/os" + _ "github.com/gohugoio/hugo/tpl/partials" + _ "github.com/gohugoio/hugo/tpl/safe" + _ "github.com/gohugoio/hugo/tpl/strings" + _ "github.com/gohugoio/hugo/tpl/time" + _ "github.com/gohugoio/hugo/tpl/transform" + _ "github.com/gohugoio/hugo/tpl/urls" ) func (t *templateFuncster) initFuncMap() { diff --git a/tpl/tplimpl/template_funcs_test.go b/tpl/tplimpl/template_funcs_test.go index 97685f96e..038a204e3 100644 --- a/tpl/tplimpl/template_funcs_test.go +++ b/tpl/tplimpl/template_funcs_test.go @@ -25,13 +25,13 @@ import ( "os" "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/spf13/hugo/i18n" - "github.com/spf13/hugo/tpl" - "github.com/spf13/hugo/tpl/internal" + "github.com/gohugoio/hugo/config" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/hugofs" + "github.com/gohugoio/hugo/i18n" + "github.com/gohugoio/hugo/tpl" + "github.com/gohugoio/hugo/tpl/internal" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/viper" "github.com/stretchr/testify/require" diff --git a/tpl/transform/init.go b/tpl/transform/init.go index 3262cec09..c0e9b2d5d 100644 --- a/tpl/transform/init.go +++ b/tpl/transform/init.go @@ -14,8 +14,8 @@ package transform 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 = "transform" diff --git a/tpl/transform/init_test.go b/tpl/transform/init_test.go index a6cb56561..8ac20366c 100644 --- a/tpl/transform/init_test.go +++ b/tpl/transform/init_test.go @@ -16,8 +16,8 @@ package transform 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/transform/transform.go b/tpl/transform/transform.go index e44abe6cb..2cc4295b2 100644 --- a/tpl/transform/transform.go +++ b/tpl/transform/transform.go @@ -19,8 +19,8 @@ import ( "html/template" "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 transform-namespaced template functions. diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go index 45ed5fc1e..b50d7530c 100644 --- a/tpl/transform/transform_test.go +++ b/tpl/transform/transform_test.go @@ -18,10 +18,10 @@ import ( "html/template" "testing" - "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/urls/init.go b/tpl/urls/init.go index c0440490d..c48fe8ca1 100644 --- a/tpl/urls/init.go +++ b/tpl/urls/init.go @@ -14,8 +14,8 @@ package urls 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 = "urls" diff --git a/tpl/urls/init_test.go b/tpl/urls/init_test.go index 5e53f3573..6630f13d3 100644 --- a/tpl/urls/init_test.go +++ b/tpl/urls/init_test.go @@ -16,8 +16,8 @@ package urls 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/urls/urls.go b/tpl/urls/urls.go index ee4457e76..60078695f 100644 --- a/tpl/urls/urls.go +++ b/tpl/urls/urls.go @@ -18,7 +18,7 @@ import ( "html/template" "github.com/spf13/cast" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) // New returns a new instance of the urls-namespaced template functions. -- cgit v1.2.3