hugolib: No links for bundled pages

This fixes a bug introduced in Hugo 0.55.

Fixes #5882
This commit is contained in:
Bjørn Erik Pedersen
2019-04-22 09:13:47 +02:00
parent 1477fb33c9
commit 0775c98e6c
5 changed files with 26 additions and 9 deletions

View File

@@ -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