diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-13 18:42:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-06-13 18:42:45 +0200 |
commit | d8717cd4c74e80ea8e20adead9321412a2d76022 (patch) | |
tree | 50b934ea1c1b67ac0911785c273027eca3e4894c /hugolib | |
parent | 2d08a296a2de3b3db209a0f44249b7b24733098e (diff) |
all: Update import paths to gohugoio/hugo
Diffstat (limited to 'hugolib')
50 files changed, 113 insertions, 113 deletions
diff --git a/hugolib/404_test.go b/hugolib/404_test.go index f921141ec..bbaed61d7 100644 --- a/hugolib/404_test.go +++ b/hugolib/404_test.go @@ -18,7 +18,7 @@ import ( "testing" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) func Test404(t *testing.T) { diff --git a/hugolib/alias.go b/hugolib/alias.go index 816ba962b..a3fe5c24a 100644 --- a/hugolib/alias.go +++ b/hugolib/alias.go @@ -22,11 +22,11 @@ import ( "runtime" "strings" - "github.com/spf13/hugo/tpl" + "github.com/gohugoio/hugo/tpl" jww "github.com/spf13/jwalterweatherman" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" ) const ( diff --git a/hugolib/alias_test.go b/hugolib/alias_test.go index 68ec8f07f..1d6824dba 100644 --- a/hugolib/alias_test.go +++ b/hugolib/alias_test.go @@ -18,7 +18,7 @@ import ( "runtime" "testing" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" "github.com/stretchr/testify/require" ) diff --git a/hugolib/case_insensitive_test.go b/hugolib/case_insensitive_test.go index 96953b18b..d065a6923 100644 --- a/hugolib/case_insensitive_test.go +++ b/hugolib/case_insensitive_test.go @@ -20,8 +20,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/stretchr/testify/require" ) diff --git a/hugolib/config.go b/hugolib/config.go index e2e9f9329..80b7bff39 100644 --- a/hugolib/config.go +++ b/hugolib/config.go @@ -17,7 +17,7 @@ import ( "fmt" "github.com/spf13/afero" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" "github.com/spf13/viper" ) diff --git a/hugolib/datafiles_test.go b/hugolib/datafiles_test.go index 5beb59249..b62fb197d 100644 --- a/hugolib/datafiles_test.go +++ b/hugolib/datafiles_test.go @@ -23,11 +23,11 @@ import ( "log" "os" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" jww "github.com/spf13/jwalterweatherman" - "github.com/spf13/hugo/parser" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/parser" + "github.com/gohugoio/hugo/source" "github.com/stretchr/testify/require" ) diff --git a/hugolib/disableKinds_test.go b/hugolib/disableKinds_test.go index e833b0a13..81f277c72 100644 --- a/hugolib/disableKinds_test.go +++ b/hugolib/disableKinds_test.go @@ -19,10 +19,10 @@ import ( "fmt" "github.com/spf13/afero" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/hugofs" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/hugofs" "github.com/stretchr/testify/require" ) diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 45de0bf09..6f47f98c3 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -22,10 +22,10 @@ import ( "path/filepath" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/tpl" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/tpl" "github.com/stretchr/testify/require" ) diff --git a/hugolib/gitinfo.go b/hugolib/gitinfo.go index f4789320d..16d8c43a5 100644 --- a/hugolib/gitinfo.go +++ b/hugolib/gitinfo.go @@ -19,7 +19,7 @@ import ( "strings" "github.com/bep/gitmap" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" ) func (h *HugoSites) assembleGitInfo() { diff --git a/hugolib/handler_base.go b/hugolib/handler_base.go index 89aadd11f..99c15e15d 100644 --- a/hugolib/handler_base.go +++ b/hugolib/handler_base.go @@ -14,7 +14,7 @@ package hugolib import ( - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/source" ) type Handler interface { diff --git a/hugolib/handler_file.go b/hugolib/handler_file.go index f2166c5ef..82ea85fb2 100644 --- a/hugolib/handler_file.go +++ b/hugolib/handler_file.go @@ -17,7 +17,7 @@ import ( "bytes" "github.com/dchest/cssmin" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/source" ) func init() { diff --git a/hugolib/handler_meta.go b/hugolib/handler_meta.go index 0f92f0c6c..d2702a39e 100644 --- a/hugolib/handler_meta.go +++ b/hugolib/handler_meta.go @@ -18,7 +18,7 @@ import ( "fmt" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/source" ) var handlers []Handler diff --git a/hugolib/handler_page.go b/hugolib/handler_page.go index 70266fb21..6e230dad0 100644 --- a/hugolib/handler_page.go +++ b/hugolib/handler_page.go @@ -16,8 +16,8 @@ package hugolib import ( "fmt" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/source" ) func init() { diff --git a/hugolib/handler_test.go b/hugolib/handler_test.go index faba04a97..aa58d1c43 100644 --- a/hugolib/handler_test.go +++ b/hugolib/handler_test.go @@ -17,8 +17,8 @@ import ( "path/filepath" "testing" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/helpers" ) func TestDefaultHandler(t *testing.T) { diff --git a/hugolib/hugo_info.go b/hugolib/hugo_info.go index 86842f38b..1e0c192e5 100644 --- a/hugolib/hugo_info.go +++ b/hugolib/hugo_info.go @@ -17,7 +17,7 @@ import ( "fmt" "html/template" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" ) var ( diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 59cde0406..4fe3f8771 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -19,12 +19,12 @@ import ( "strings" "sync" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/helpers" - "github.com/spf13/hugo/i18n" - "github.com/spf13/hugo/tpl" - "github.com/spf13/hugo/tpl/tplimpl" + "github.com/gohugoio/hugo/i18n" + "github.com/gohugoio/hugo/tpl" + "github.com/gohugoio/hugo/tpl/tplimpl" ) // HugoSites represents the sites to build. Each site represents a language. diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index 61e2ac337..fa0eac702 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -19,7 +19,7 @@ import ( "errors" "github.com/fsnotify/fsnotify" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/helpers" ) // Build builds all sites. If filesystem events are provided, diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index e7f93598b..06867ab3d 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -14,10 +14,10 @@ import ( "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/spf13/afero" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/hugofs" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/hugofs" + "github.com/gohugoio/hugo/source" "github.com/spf13/viper" "github.com/stretchr/testify/require" ) diff --git a/hugolib/menu_old_test.go b/hugolib/menu_old_test.go index 156a7e551..7c49ed908 100644 --- a/hugolib/menu_old_test.go +++ b/hugolib/menu_old_test.go @@ -21,12 +21,12 @@ import ( "strings" "testing" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" "path/filepath" "github.com/BurntSushi/toml" - "github.com/spf13/hugo/source" + "github.com/gohugoio/hugo/source" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/hugolib/multilingual.go b/hugolib/multilingual.go index c5943dbd5..04efe6386 100644 --- a/hugolib/multilingual.go +++ b/hugolib/multilingual.go @@ -22,8 +22,8 @@ import ( "fmt" "github.com/spf13/cast" - "github.com/spf13/hugo/config" - "github.com/spf13/hugo/helpers" + "github.com/gohugoio/hugo/config" + "github.com/gohugoio/hugo/helpers" ) type Multilingual struct { diff --git a/hugolib/node_as_page_test.go b/hugolib/node_as_page_test.go index 0e1cc9577..f625bf2d5 100644 --- a/hugolib/node_as_page_test.go +++ b/hugolib/node_as_page_test.go @@ -23,8 +23,8 @@ import ( "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/stretchr/testify/require" ) diff --git a/hugolib/page.go b/hugolib/page.go index 909ac247e..eaa8aa5dd 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -22,9 +22,9 @@ import ( "github.com/bep/gitmap" "github.com/mitchellh/mapstructure" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/output" - "github.com/spf13/hugo/parser" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/output" + "github.com/gohugoio/hugo/parser" "html/template" "io" @@ -37,8 +37,8 @@ import ( "unicode/utf8" "github.com/spf13/cast" - bp "github.com/spf13/hugo/bufferpool" - "github.com/spf13/hugo/source" + bp "github.com/gohugoio/hugo/bufferpool" + "github.com/gohugoio/hugo/source" ) var ( diff --git a/hugolib/page_collections.go b/hugolib/page_collections.go index 605ec4072..e72f9a731 100644 --- a/hugolib/page_collections.go +++ b/hugolib/page_collections.go @@ -17,7 +17,7 @@ import ( "path" "path/filepath" - "github.com/spf13/hugo/cache" + "github.com/gohugoio/hugo/cache" ) // PageCollections contains the page collections for a site. diff --git a/hugolib/page_collections_test.go b/hugolib/page_collections_test.go index f1d6af728..aee99040c 100644 --- a/hugolib/page_collections_test.go +++ b/hugolib/page_collections_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" "github.com/stretchr/testify/require" ) diff --git a/hugolib/page_output.go b/hugolib/page_output.go index ea23dc203..6ea466b4f 100644 --- a/hugolib/page_output.go +++ b/hugolib/page_output.go @@ -19,10 +19,10 @@ import ( "strings" "sync" - "github.com/spf13/hugo/media" + "github.com/gohugoio/hugo/media" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/output" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/output" ) // PageOutput represents one of potentially many output formats of a given diff --git a/hugolib/page_paths.go b/hugolib/page_paths.go index 0f5add27d..8aa70b95b 100644 --- a/hugolib/page_paths.go +++ b/hugolib/page_paths.go @@ -20,8 +20,8 @@ import ( "net/url" "strings" - "github.com/spf13/hugo/helpers" - "github.com/spf13/hugo/output" + "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/output" ) // targetPathDescriptor describes how a file path for a given resource diff --git a/hugolib/page_paths_test.go b/hugolib/page_paths_test.go index 1d14b92fd..9a2db1192 100644 --- a/hugolib/page_paths_test.go +++ b/hugolib/page_paths_test.go @@ -20,7 +20,7 @@ import ( "fmt" - "github.com/spf13/hugo/output" + "github.com/gohugoio/hugo/output" ) func TestPageTargetPath(t *testing.T) { diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index d46f0d35d..6f899efae 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/spf13/hugo/deps" + "github.com/gohugoio/hugo/deps" ) func TestPermalink(t *testing.T) { diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 95a3f1efd..dbb7e38ee 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -26,8 +26,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" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/hugolib/pagination.go b/hugolib/pagination.go index e9ca6816b..4733cf7c8 100644 --- a/hugolib/pagination.go +++ b/hugolib/pagination.go @@ -21,7 +21,7 @@ import ( "reflect" "strings" - "github.com/spf13/hugo/config" + "github.com/gohugoio/hugo/config" "github.com/spf13/cast" ) diff --git a/hugolib/pagination_test.go b/hugolib/pagination_test.go index 3307667e9..edfac3f3e 100644 --- a/hugolib/pagination_test.go +++ b/hugolib/pagination_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/spf13/hugo/deps" - "github.com/spf13/hugo/output" + "github.com/gohugoio/hugo/deps" + "github.com/gohugoio/hugo/output" "github.com/stretchr/testify/require" ) diff --git a/hugolib/robotstxt_test.go b/hugolib/robotstxt_test.go index b60a2e5f7..03332cbce 100644 --- a/hugo |