all: Update import paths to gohugoio/hugo

This commit is contained in:
Bjørn Erik Pedersen 2017-06-13 18:42:45 +02:00
parent 2d08a296a2
commit d8717cd4c7
169 changed files with 355 additions and 355 deletions

View File

@ -1,6 +1,6 @@
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
PACKAGE = github.com/spf13/hugo
PACKAGE = github.com/gohugoio/hugo
COMMIT_HASH = `git rev-parse --short HEAD 2>/dev/null`
BUILD_DATE = `date +%FT%T%z`
LDFLAGS = -ldflags "-X ${PACKAGE}/hugolib.CommitHash=${COMMIT_HASH} -X ${PACKAGE}/hugolib.BuildDate=${BUILD_DATE}"

View File

@ -14,9 +14,9 @@
package commands
import (
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
)
type commandeer struct {

View File

@ -21,8 +21,8 @@ import (
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
)
var outputDir string

View File

@ -22,8 +22,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -20,7 +20,7 @@ import (
"path/filepath"
"github.com/spf13/cobra"
"github.com/spf13/hugo/docshelper"
"github.com/gohugoio/hugo/docshelper"
)
type genDocsHelper struct {

View File

@ -19,8 +19,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -19,7 +19,7 @@ import (
"fmt"
"io/ioutil"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"log"
"net/http"
@ -30,9 +30,9 @@ import (
"sync"
"time"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
flag "github.com/spf13/pflag"
"regexp"
@ -41,12 +41,12 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/fsync"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/livereload"
"github.com/spf13/hugo/utils"
"github.com/spf13/hugo/watcher"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/livereload"
"github.com/gohugoio/hugo/utils"
"github.com/gohugoio/hugo/watcher"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/nitro"
"github.com/spf13/viper"

View File

@ -28,10 +28,10 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -17,7 +17,7 @@ import (
"path/filepath"
"github.com/spf13/cobra"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/hugolib"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -24,11 +24,11 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/hugo/create"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/create"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/viper"
)

View File

@ -17,7 +17,7 @@ import (
"path/filepath"
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View File

@ -17,7 +17,7 @@ package commands
import (
"github.com/spf13/cobra"
"github.com/spf13/hugo/releaser"
"github.com/gohugoio/hugo/releaser"
)
func init() {

View File

@ -26,8 +26,8 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"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"
)

View File

@ -20,7 +20,7 @@ import (
"time"
"github.com/spf13/cobra"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)
var undraftCmd = &cobra.Command{

View File

@ -21,7 +21,7 @@ import (
"testing"
"time"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)
var (

View File

@ -22,8 +22,8 @@ import (
"github.com/kardianos/osext"
"github.com/spf13/cobra"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -24,9 +24,9 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cast"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -19,17 +19,17 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/hugolib"
"fmt"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/afero"
"github.com/spf13/hugo/create"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/create"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"
)

10
deps/deps.go vendored
View File

@ -5,11 +5,11 @@ import (
"log"
"os"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/output"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/output"
"github.com/gohugoio/hugo/tpl"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -29,8 +29,8 @@ import (
"github.com/miekg/mmark"
"github.com/mitchellh/mapstructure"
"github.com/russross/blackfriday"
bp "github.com/spf13/hugo/bufferpool"
"github.com/spf13/hugo/config"
bp "github.com/gohugoio/hugo/bufferpool"
"github.com/gohugoio/hugo/config"
jww "github.com/spf13/jwalterweatherman"
"strings"

View File

@ -19,7 +19,7 @@ import (
"github.com/miekg/mmark"
"github.com/russross/blackfriday"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -19,7 +19,7 @@ import (
"testing"
"github.com/kyokomi/emoji"
"github.com/spf13/hugo/bufferpool"
"github.com/gohugoio/hugo/bufferpool"
)
func TestEmojiCustom(t *testing.T) {

View File

@ -27,7 +27,7 @@ import (
"unicode/utf8"
"github.com/spf13/cast"
bp "github.com/spf13/hugo/bufferpool"
bp "github.com/gohugoio/hugo/bufferpool"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/pflag"
)

View File

@ -19,7 +19,7 @@ import (
"sync"
"github.com/spf13/cast"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
)
// These are the settings that should only be looked up in the global Viper

View File

@ -30,7 +30,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/spf13/afero"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
)

View File

@ -16,8 +16,8 @@ package helpers
import (
"fmt"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/hugofs"
)
// PathSpec holds methods that decides how paths in URLs and files in Hugo should look like.

View File

@ -16,7 +16,7 @@ package helpers
import (
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"

View File

@ -24,8 +24,8 @@ import (
"sort"
"strings"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -3,7 +3,7 @@ package helpers
import (
"github.com/spf13/viper"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
)
func newTestPathSpec(fs *hugofs.Fs, v *viper.Viper) *PathSpec {

View File

@ -18,7 +18,7 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View File

@ -16,7 +16,7 @@ package hugofs
import (
"github.com/spf13/afero"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
)
// Os points to an Os Afero file system.

View File

@ -18,7 +18,7 @@ import (
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
func Test404(t *testing.T) {

View File

@ -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 (

View File

@ -18,7 +18,7 @@ import (
"runtime"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
"github.com/stretchr/testify/require"
)

View File

@ -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"
)

View File

@ -17,7 +17,7 @@ import (
"fmt"
"github.com/spf13/afero"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/viper"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -19,7 +19,7 @@ import (
"strings"
"github.com/bep/gitmap"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
func (h *HugoSites) assembleGitInfo() {

View File

@ -14,7 +14,7 @@
package hugolib
import (
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/source"
)
type Handler interface {

View File

@ -17,7 +17,7 @@ import (
"bytes"
"github.com/dchest/cssmin"
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/source"
)
func init() {

View File

@ -18,7 +18,7 @@ import (
"fmt"
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/source"
)
var handlers []Handler

View File

@ -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() {

View File

@ -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) {

View File

@ -17,7 +17,7 @@ import (
"fmt"
"html/template"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
var (

View File

@ -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.

View File

@ -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,

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"
)

View File

@ -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 (

View File

@ -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.

View File

@ -21,7 +21,7 @@ import (
"testing"
"time"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
"github.com/stretchr/testify/require"
)

View File

@ -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

View File

@ -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

View File

@ -20,7 +20,7 @@ import (
"fmt"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/output"
)
func TestPageTargetPath(t *testing.T) {

View File

@ -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) {

View File

@ -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"
)

View File

@ -21,7 +21,7 @@ import (
"reflect"
"strings"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
"github.com/spf13/cast"
)

View File

@ -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"
)

View File

@ -17,7 +17,7 @@ import (
"path/filepath"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
const robotTxtTemplate = `User-agent: Googlebot

View File

@ -18,7 +18,7 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
func TestRSSOutput(t *testing.T) {

View File

@ -18,7 +18,7 @@ import (
"sort"
"sync"
"github.com/spf13/hugo/tpl/math"
"github.com/gohugoio/hugo/tpl/math"
)
// Scratch is a writable context used for stateful operations in Page/Node rendering.

View File

@ -24,13 +24,13 @@ import (
"strings"
"sync"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/output"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
bp "github.com/spf13/hugo/bufferpool"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/tpl"
bp "github.com/gohugoio/hugo/bufferpool"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/tpl"
)
// ShortcodeWithPage is the "." context in a shortcode template.

View File

@ -26,14 +26,14 @@ import (
"github.com/spf13/afero"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/output"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/source"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/source"
"github.com/gohugoio/hugo/tpl"
"github.com/stretchr/testify/require"
)

View File

@ -28,9 +28,9 @@ import (
"sync"
"time"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
"github.com/bep/inflect"
@ -39,14 +39,14 @@ import (
"github.com/fsnotify/fsnotify"
"github.com/spf13/afero"
"github.com/spf13/cast"
bp "github.com/spf13/hugo/bufferpool"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/output"
"github.com/spf13/hugo/parser"
"github.com/spf13/hugo/source"
"github.com/spf13/hugo/tpl"
"github.com/spf13/hugo/transform"
bp "github.com/gohugoio/hugo/bufferpool"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/output"
"github.com/gohugoio/hugo/parser"
"github.com/gohugoio/hugo/source"
"github.com/gohugoio/hugo/tpl"
"github.com/gohugoio/hugo/transform"
"github.com/spf13/nitro"
"github.com/spf13/viper"
)

View File

@ -19,7 +19,7 @@ import (
"path/filepath"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
// Issue #1123

View File

@ -19,9 +19,9 @@ import (
"strings"
"github.com/spf13/cast"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/output"
)
func createSiteOutputFormats(allFormats output.Formats, cfg config.Provider) (map[string]output.Formats, error) {

View File

@ -24,8 +24,8 @@ import (
"fmt"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/output"
"github.com/spf13/viper"
)

View File

@ -18,11 +18,11 @@ import (
"path"
"sync"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/hugo/output"
"github.com/gohugoio/hugo/output"
bp "github.com/spf13/hugo/bufferpool"
bp "github.com/gohugoio/hugo/bufferpool"
)
// renderPages renders pages each corresponding to a markdown file.

View File

@ -20,7 +20,7 @@ import (
"strings"
radix "github.com/hashicorp/go-immutable-radix"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
// Deprecated: Use .Site.Home.Sections.

View File

@ -19,7 +19,7 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
"github.com/stretchr/testify/require"
)

View File

@ -22,11 +22,11 @@ import (
"github.com/bep/inflect"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/source"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/hugofs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View File

@ -19,8 +19,8 @@ import (
"html/template"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/source"
"github.com/stretchr/testify/require"
)

View File

@ -20,8 +20,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/tpl"
)
const sitemapTemplate = `<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

View File

@ -22,7 +22,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
func TestByCountOrderOfTaxonomies(t *testing.T) {

View File

@ -20,7 +20,7 @@ import (
"strings"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
func TestAllTemplateEngines(t *testing.T) {

View File

@ -18,8 +18,8 @@ import (
"path/filepath"
"testing"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
)

View File

@ -10,12 +10,12 @@ import (
"strings"
"github.com/spf13/afero"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/source"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/source"
"github.com/gohugoio/hugo/tpl"
"github.com/spf13/viper"
"io/ioutil"
@ -23,7 +23,7 @@ import (
"log"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
"github.com/stretchr/testify/require"
)

View File

@ -15,8 +15,8 @@ package i18n
import (
"github.com/nicksnyder/go-i18n/i18n/bundle"
"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"
)

View File

@ -22,7 +22,7 @@ import (
"log"
"github.com/nicksnyder/go-i18n/i18n/bundle"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"

View File

@ -17,8 +17,8 @@ import (
"fmt"
"github.com/nicksnyder/go-i18n/i18n/bundle"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/source"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/source"
)
// TranslationProvider provides translation handling, i.e. loading

View File

@ -18,7 +18,7 @@ import (
"os"
"github.com/spf13/hugo/commands"
"github.com/gohugoio/hugo/commands"
jww "github.com/spf13/jwalterweatherman"
)

View File

@ -1,7 +1,7 @@
package media
import (
"github.com/spf13/hugo/docshelper"
"github.com/gohugoio/hugo/docshelper"
)
// This is is just some helpers used to create some JSON used in the Hugo docs.

View File

@ -5,7 +5,7 @@ import (
"fmt"
"github.com/spf13/hugo/docshelper"
"github.com/gohugoio/hugo/docshelper"
)
// This is is just some helpers used to create some JSON used in the Hugo docs.

View File

@ -18,7 +18,7 @@ import (
"path/filepath"
"strings"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
const baseFileBase = "baseof"

View File

@ -16,7 +16,7 @@ package output
import (
"testing"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
"github.com/stretchr/testify/require"
)

View File

@ -23,7 +23,7 @@ import (
"github.com/mitchellh/mapstructure"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
)
// Format represents an output representation, usually to a file on disk.

View File

@ -17,7 +17,7 @@ import (
"fmt"
"testing"
"github.com/spf13/hugo/media"
"github.com/gohugoio/hugo/media"
"github.com/stretchr/testify/require"
)

View File

@ -25,7 +25,7 @@ import (
"path/filepath"
"regexp"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
const commitPrefix = "releaser:"

View File

@ -19,7 +19,7 @@ package releaser
import (
"testing"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
"github.com/stretchr/testify/require"
)

View File

@ -16,7 +16,7 @@ package source
import (
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
)

View File

@ -18,10 +18,10 @@ import (
"path/filepath"
"strings"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
)
type SourceSpec struct {

View File

@ -18,7 +18,7 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"

View File

@ -22,7 +22,7 @@ import (
"strings"
"github.com/spf13/cast"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
jww "github.com/spf13/jwalterweatherman"
"golang.org/x/text/unicode/norm"
)

View File

@ -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.

View File

@ -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"

View File

@ -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"
)

Some files were not shown because too many files have changed in this diff Show More