mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 16:53:40 +00:00
parent
b9a503febb
commit
94d0e79d33
1 changed files with 2 additions and 2 deletions
|
@ -488,9 +488,9 @@ func newSiteRefLinker(cfg config.Provider, s *Site) (siteRefLinker, error) {
|
|||
|
||||
func (s siteRefLinker) logNotFound(ref, what string, p *Page) {
|
||||
if p != nil {
|
||||
s.errorLogger.Printf("REF_NOT_FOUND: Ref %q: %s", ref, what)
|
||||
s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q: %s", s.s.Lang(), ref, what)
|
||||
} else {
|
||||
s.errorLogger.Printf("REF_NOT_FOUND: Ref %q from page %q: %s", ref, p.absoluteSourceRef(), what)
|
||||
s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q from page %q: %s", s.s.Lang(), ref, p.absoluteSourceRef(), what)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue