aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/site.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-02-28 14:22:05 +0100
committerBjørn Erik Pedersen <[email protected]>2020-02-29 18:32:06 +0100
commit1746e8a9b2be46dcd6cecbb4bc90983a9c69b333 (patch)
tree45a8cbb965f9070473e2a4d7a6330fd8fdf77b24 /hugolib/site.go
parent6f48146e75e9877c4271ec239b763e6f3bc3babb (diff)
downloadhugo-1746e8a9b2be46dcd6cecbb4bc90983a9c69b333.tar.gz
hugo-1746e8a9b2be46dcd6cecbb4bc90983a9c69b333.zip
Fix ref/relRef regression for relative refs from bundles
Fixes #6952
Diffstat (limited to 'hugolib/site.go')
-rw-r--r--hugolib/site.go1
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