aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/page
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-05-29 13:23:36 +0200
committerBjørn Erik Pedersen <[email protected]>2024-05-30 11:29:21 +0200
commit245928a1ff49c6a1c25524f08bf538b0ab88f1a8 (patch)
tree1fa4d9ffe812f4f78eebc43f114b3dcc2b0442a0 /resources/page
parent519f41dbd72d4b13208225ab5b28c6d98ecb07ba (diff)
downloadhugo-245928a1ff49c6a1c25524f08bf538b0ab88f1a8.tar.gz
hugo-245928a1ff49c6a1c25524f08bf538b0ab88f1a8.zip
content adapter: Add support for menus in AddPage
Fixes #12507
Diffstat (limited to 'resources/page')
-rw-r--r--resources/page/pagemeta/page_frontmatter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/page/pagemeta/page_frontmatter.go b/resources/page/pagemeta/page_frontmatter.go
index 10ba2a991..c901ab57b 100644
--- a/resources/page/pagemeta/page_frontmatter.go
+++ b/resources/page/pagemeta/page_frontmatter.go
@@ -101,6 +101,7 @@ type PageConfig struct {
Cascade []map[string]any
Sitemap config.SitemapConfig
Build BuildConfig
+ Menus []string
// User defined params.
Params maps.Params