summaryrefslogtreecommitdiffstats
path: root/hugolib/page__meta.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-22 09:13:47 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-22 13:22:01 +0200
commit0775c98e6c5b700e46adaaf190fc3f693a6ab002 (patch)
treeb2162c568fc2afd528792a5e28064f7d9c6caa0a /hugolib/page__meta.go
parent1477fb33c938107601ffcbc7d3051378cf608443 (diff)
hugolib: No links for bundled pages
This fixes a bug introduced in Hugo 0.55. Fixes #5882
Diffstat (limited to 'hugolib/page__meta.go')
-rw-r--r--hugolib/page__meta.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go
index 64c72b895..d14b9d724 100644
--- a/hugolib/page__meta.go
+++ b/hugolib/page__meta.go
@@ -98,6 +98,9 @@ type pageMeta struct {
// 3. But you can get it via .Site.GetPage
headless bool
+ // Set if this page is bundled inside another.
+ bundled bool
+
// A key that maps to translation(s) of this page. This value is fetched
// from the page front matter.
translationKey string