diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-28 16:22:05 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-29 20:32:06 +0300 |
commit | 1746e8a9b2be46dcd6cecbb4bc90983a9c69b333 (patch) | |
tree | 45a8cbb965f9070473e2a4d7a6330fd8fdf77b24 /hugolib/site.go | |
parent | 6f48146e75e9877c4271ec239b763e6f3bc3babb (diff) |
Fix ref/relRef regression for relative refs from bundles
Fixes #6952
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index ac67c1210..f85dc47e2 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -777,7 +777,6 @@ func (s siteRefLinker) logNotFound(ref, what string, p page.Page, position text. } func (s *siteRefLinker) refLink(ref string, source interface{}, relative bool, outputFormat string) (string, error) { - p, err := unwrapPage(source) if err != nil { return "", err |