Skip to content

Commit c17ad67

Browse files
committed
all: Update textual references in Go source to point to gohugoio/hugo
1 parent d8717cd commit c17ad67

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

‎commands/convert.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func convertContents(mark rune) error {
136136
page.SetDir(filepath.Join(contentDir, file.Dir()))
137137
page.SetSourceContent(psr.Content())
138138
if err = page.SetSourceMetaData(metadata, mark); err != nil {
139-
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)
139+
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)
140140
continue
141141
}
142142

‎commands/hugo.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func (c *commandeer) getDirList() []string {
656656
}
657657

658658
// Skip .git directories.
659-
// Related to https://github.com/spf13/hugo/issues/3468.
659+
// Related to https://github.com/gohugoio/hugo/issues/3468.
660660
if fi.Name() == ".git" {
661661
return nil
662662
}

‎commands/new.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func touchFile(fs afero.Fs, x ...string) {
311311
func createThemeMD(fs *hugofs.Fs, inpath string) (err error) {
312312

313313
by := []byte(`# theme.toml template for a Hugo theme
314-
# See https://github.com/spf13/hugoThemes#themetoml for an example
314+
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
315315
316316
name = "` + strings.Title(helpers.MakeTitle(filepath.Base(inpath))) + `"
317317
license = "MIT"

‎create/content.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func FindArchetype(s *hugolib.Site, kind string) (outpath string) {
160160
for _, x := range search {
161161
// If the new content isn't in a subdirectory, kind == "".
162162
// Therefore it should be excluded otherwise `is a directory`
163-
// error will occur. github.com/spf13/hugo/issues/411
163+
// error will occur. github.com/gohugoio/hugo/issues/411
164164
var pathsToCheck []string
165165

166166
if kind == "" {

‎hugolib/node_as_page_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
/*
3232
This file will test the "making everything a page" transition.
3333
34-
See https://github.com/spf13/hugo/issues/2297
34+
See https://github.com/gohugoio/hugo/issues/2297
3535
3636
*/
3737

‎hugolib/page.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ func (p *Page) SetSourceContent(content []byte) {
13391339
}
13401340

13411341
func (p *Page) SetSourceMetaData(in interface{}, mark rune) (err error) {
1342-
// See https://github.com/spf13/hugo/issues/2458
1342+
// See https://github.com/gohugoio/hugo/issues/2458
13431343
defer func() {
13441344
if r := recover(); r != nil {
13451345
var ok bool

‎hugolib/page_time_integration_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func TestParsingDateInFrontMatter(t *testing.T) {
148148
}
149149
}
150150

151-
// Temp test https://github.com/spf13/hugo/issues/3059
151+
// Temp test https://github.com/gohugoio/hugo/issues/3059
152152
func TestParsingDateParallel(t *testing.T) {
153153
t.Parallel()
154154

‎hugolib/shortcode_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func CheckShortCodeMatchAndError(t *testing.T, input, expected string, withTempl
6363

6464
cfg, fs := newTestCfg()
6565

66-
// Need some front matter, see https://github.com/spf13/hugo/issues/2337
66+
// Need some front matter, see https://github.com/gohugoio/hugo/issues/2337
6767
contentFile := `---
6868
title: "Title"
6969
---

‎hugolib/site.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type Site struct {
8787
// to get the singular form from that value.
8888
taxonomiesPluralSingular map[string]string
8989

90-
// This is temporary, see https://github.com/spf13/hugo/issues/2835
90+
// This is temporary, see https://github.com/gohugoio/hugo/issues/2835
9191
// Maps "actors-gerard-depardieu" to "Gérard Depardieu" when preserveTaxonomyNames
9292
// is set.
9393
taxonomiesOrigKey map[string]string

‎hugolib/translations.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func createTranslationKey(p *Page) string {
4949
base := p.TranslationBaseName()
5050

5151
if p.IsNode() {
52-
// TODO(bep) see https://github.com/spf13/hugo/issues/2699
52+
// TODO(bep) see https://github.com/gohugoio/hugo/issues/2699
5353
// Must prepend the section and kind to the key to make it unique
5454
base = fmt.Sprintf("%s/%s/%s", p.Kind, p.sections, base)
5555
}

0 commit comments

Comments
 (0)