summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-13 18:47:17 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-13 18:47:17 +0200
commitc17ad675e8fcdb2db40fc50816b8f016bc14294c (patch)
treed79b1dadcef0e0e0258ca42a786f6be8671f90df
parentd8717cd4c74e80ea8e20adead9321412a2d76022 (diff)
all: Update textual references in Go source to point to gohugoio/hugo
-rw-r--r--commands/convert.go2
-rw-r--r--commands/hugo.go2
-rw-r--r--commands/new.go2
-rw-r--r--create/content.go2
-rw-r--r--hugolib/node_as_page_test.go2
-rw-r--r--hugolib/page.go2
-rw-r--r--hugolib/page_time_integration_test.go2
-rw-r--r--hugolib/shortcode_test.go2
-rw-r--r--hugolib/site.go2
-rw-r--r--hugolib/translations.go2
-rw-r--r--i18n/i18n_test.go2
-rw-r--r--releaser/github.go6
-rw-r--r--releaser/releasenotes_writer.go8
-rw-r--r--tpl/tplimpl/template.go4
14 files changed, 20 insertions, 20 deletions
diff --git a/commands/convert.go b/commands/convert.go
index 15273b0c5..e40f5fa40 100644
--- a/commands/convert.go
+++ b/commands/convert.go
@@ -136,7 +136,7 @@ func convertContents(mark rune) error {
page.SetDir(filepath.Join(contentDir, file.Dir()))
page.SetSourceContent(psr.Content())
if err = page.SetSourceMetaData(metadata, mark); err != nil {
- site.Log.ERROR.Printf("Failed to set source metadata for file %q: %s. For more info see For more info see https://github.com/spf13/hugo/issues/2458", page.FullFilePath(), err)
+ site.Log.ERROR.Printf("Failed to set source metadata for file %q: %s. For more info see For more info see https://github.com/gohugoio/hugo/issues/2458", page.FullFilePath(), err)
continue
}
diff --git a/commands/hugo.go b/commands/hugo.go
index d354b01ac..918e76474 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -656,7 +656,7 @@ func (c *commandeer) getDirList() []string {
}
// Skip .git directories.
- // Related to https://github.com/spf13/hugo/issues/3468.
+ // Related to https://github.com/gohugoio/hugo/issues/3468.
if fi.Name() == ".git" {
return nil
}
diff --git a/commands/new.go b/commands/new.go
index 8ff5f1b80..5b48abaf1 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -311,7 +311,7 @@ func touchFile(fs afero.Fs, x ...string) {
func createThemeMD(fs *hugofs.Fs, inpath string) (err error) {
by := []byte(`# theme.toml template for a Hugo theme
-# See https://github.com/spf13/hugoThemes#themetoml for an example
+# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "` + strings.Title(helpers.MakeTitle(filepath.Base(inpath))) + `"
license = "MIT"
diff --git a/create/content.go b/create/content.go
index c51d1f9bd..29c99d471 100644
--- a/create/content.go
+++ b/create/content.go
@@ -160,7 +160,7 @@ func FindArchetype(s *hugolib.Site, kind string) (outpath string) {
for _, x := range search {
// If the new content isn't in a subdirectory, kind == "".
// Therefore it should be excluded otherwise `is a directory`
- // error will occur. github.com/spf13/hugo/issues/411
+ // error will occur. github.com/gohugoio/hugo/issues/411
var pathsToCheck []string
if kind == "" {
diff --git a/hugolib/node_as_page_test.go b/hugolib/node_as_page_test.go
index f625bf2d5..6cadafc0d 100644
--- a/hugolib/node_as_page_test.go
+++ b/hugolib/node_as_page_test.go
@@ -31,7 +31,7 @@ import (
/*
This file will test the "making everything a page" transition.
- See https://github.com/spf13/hugo/issues/2297
+ See https://github.com/gohugoio/hugo/issues/2297
*/
diff --git a/hugolib/page.go b/hugolib/page.go
index eaa8aa5dd..a0ea7183c 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -1339,7 +1339,7 @@ func (p *Page) SetSourceContent(content []byte) {
}
func (p *Page) SetSourceMetaData(in interface{}, mark rune) (err error) {
- // See https://github.com/spf13/hugo/issues/2458
+ // See https://github.com/gohugoio/hugo/issues/2458
defer func() {
if r := recover(); r != nil {
var ok bool
diff --git a/hugolib/page_time_integration_test.go b/hugolib/page_time_integration_test.go
index 534933d2b..1bf83bdca 100644
--- a/hugolib/page_time_integration_test.go
+++ b/hugolib/page_time_integration_test.go
@@ -148,7 +148,7 @@ func TestParsingDateInFrontMatter(t *testing.T) {
}
}
-// Temp test https://github.com/spf13/hugo/issues/3059
+// Temp test https://github.com/gohugoio/hugo/issues/3059
func TestParsingDateParallel(t *testing.T) {
t.Parallel()
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index 8f2b71174..42da9e465 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -63,7 +63,7 @@ func CheckShortCodeMatchAndError(t *testing.T, input, expected string, withTempl
cfg, fs := newTestCfg()
- // Need some front matter, see https://github.com/spf13/hugo/issues/2337
+ // Need some front matter, see https://github.com/gohugoio/hugo/issues/2337
contentFile := `---
title: "Title"
---
diff --git a/hugolib/site.go b/hugolib/site.go
index 47cc74bae..78f02ff80 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -87,7 +87,7 @@ type Site struct {
// to get the singular form from that value.
taxonomiesPluralSingular map[string]string
- // This is temporary, see https://github.com/spf13/hugo/issues/2835
+ // This is temporary, see https://github.com/gohugoio/hugo/issues/2835
// Maps "actors-gerard-depardieu" to "Gérard Depardieu" when preserveTaxonomyNames
// is set.
taxonomiesOrigKey map[string]string
diff --git a/hugolib/translations.go b/hugolib/translations.go
index b71ae9786..53272ee14 100644
--- a/hugolib/translations.go
+++ b/hugolib/translations.go
@@ -49,7 +49,7 @@ func createTranslationKey(p *Page) string {
base := p.TranslationBaseName()
if p.IsNode() {
- // TODO(bep) see https://github.com/spf13/hugo/issues/2699
+ // TODO(bep) see https://github.com/gohugoio/hugo/issues/2699
// Must prepend the section and kind to the key to make it unique
base = fmt.Sprintf("%s/%s/%s", p.Kind, p.sections, base)
}
diff --git a/i18n/i18n_test.go b/i18n/i18n_test.go
index 4793541db..496d35ad3 100644
--- a/i18n/i18n_test.go
+++ b/i18n/i18n_test.go
@@ -113,7 +113,7 @@ var i18nTests = []i18nTest{
expectedFlag: "¡Hola, 50 gente!",
},
// Same id and translation in current language
- // https://github.com/spf13/hugo/issues/2607
+ // https://github.com/gohugoio/hugo/issues/2607
{
data: map[string][]byte{
"es.toml": []byte("[hello]\nother = \"hello\""),
diff --git a/releaser/github.go b/releaser/github.go
index 0dbb1bca1..c1e7691b8 100644
--- a/releaser/github.go
+++ b/releaser/github.go
@@ -9,9 +9,9 @@ import (
)
var (
- gitHubCommitsApi = "https://api.github.com/repos/spf13/hugo/commits/%s"
- gitHubRepoApi = "https://api.github.com/repos/spf13/hugo"
- gitHubContributorsApi = "https://api.github.com/repos/spf13/hugo/contributors"
+ gitHubCommitsApi = "https://api.github.com/repos/gohugoio/hugo/commits/%s"
+ gitHubRepoApi = "https://api.github.com/repos/gohugoio/hugo"
+ gitHubContributorsApi = "https://api.github.com/repos/gohugoio/hugo/contributors"
)
type gitHubCommit struct {
diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go
index 2f24a6c05..9e3e6414d 100644
--- a/releaser/releasenotes_writer.go
+++ b/releaser/releasenotes_writer.go
@@ -29,7 +29,7 @@ import (
)
const (
- issueLinkTemplate = "[#%d](https://github.com/spf13/hugo/issues/%d)"
+ issueLinkTemplate = "[#%d](https://github.com/gohugoio/hugo/issues/%d)"
linkTemplate = "[%s](%s)"
releaseNotesMarkdownTemplate = `
{{- $patchRelease := isPatch . -}}
@@ -56,8 +56,8 @@ And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraf
Hugo now has:
{{ with .Repo -}}
-* {{ .Stars }}+ [stars](https://github.com/spf13/hugo/stargazers)
-* {{ len .Contributors }}+ [contributors](https://github.com/spf13/hugo/graphs/contributors)
+* {{ .Stars }}+ [stars](https://github.com/gohugoio/hugo/stargazers)
+* {{ len .Contributors }}+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
{{- end -}}
{{ with .ThemeCount }}
* 156+ [themes](http://themes.gohugo.io/)
@@ -160,7 +160,7 @@ func writeReleaseNotes(version string, infos gitInfos, to io.Writer) error {
}
func fetchThemeCount() (int, error) {
- resp, err := http.Get("https://github.com/spf13/hugoThemes/blob/master/.gitmodules")
+ resp, err := http.Get("https://github.com/gohugoio/hugoThemes/blob/master/.gitmodules")
if err != nil {
return 0, err
}
diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go
index d92c4e269..13be7ee6d 100644
--- a/tpl/tplimpl/template.go
+++ b/tpl/tplimpl/template.go
@@ -139,7 +139,7 @@ func (t *templateHandler) clone(d *deps.Deps) *templateHandler {
vc := template.Must(v.Clone())
// The extra lookup is a workaround, see
// * https://github.com/golang/go/issues/16101
- // * https://github.com/spf13/hugo/issues/2549
+ // * https://github.com/gohugoio/hugo/issues/2549
vc = vc.Lookup(vc.Name())
vc.Funcs(c.html.funcster.funcMap)
c.html.overlays[k] = vc
@@ -555,7 +555,7 @@ func (t *htmlTemplates) handleMaster(name, overlayFilename, masterFilename strin
// The extra lookup is a workaround, see
// * https://github.com/golang/go/issues/16101
- // * https://github.com/spf13/hugo/issues/2549
+ // * https://github.com/gohugoio/hugo/issues/2549
overlayTpl = overlayTpl.Lookup(overlayTpl.Name())
if err := applyTemplateTransformersToHMLTTemplate(overlayTpl); err != nil {
return err