diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-06-07 16:36:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-06-07 19:11:03 +0200 |
commit | f55d2f43769053b80b419a690554e747dc5dcede (patch) | |
tree | f8c5bdc95df123f2abb04d66b87af4bf9237f086 /hugolib/alias.go | |
parent | 282f1aa3db9f6420fdd360e46db1ffadd5b083a1 (diff) |
tpl/fmt: Add erroridf template func
Fixes #8613
Diffstat (limited to 'hugolib/alias.go')
-rw-r--r-- | hugolib/alias.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/alias.go b/hugolib/alias.go index 891098c9d..2609cd6bb 100644 --- a/hugolib/alias.go +++ b/hugolib/alias.go @@ -79,7 +79,7 @@ func (s *Site) writeDestAlias(path, permalink string, outputFormat output.Format func (s *Site) publishDestAlias(allowRoot bool, path, permalink string, outputFormat output.Format, p page.Page) (err error) { handler := newAliasHandler(s.Tmpl(), s.Log, allowRoot) - s.Log.Debug().Println("creating alias:", path, "redirecting to", permalink) + s.Log.Debugln("creating alias:", path, "redirecting to", permalink) targetPath, err := handler.targetPathAlias(path) if err != nil { |