Add support for single page menu
This commit is contained in:
parent
6e0b0b6fc7
commit
193fbeca7c
4 changed files with 91 additions and 12 deletions
23
exampleSite/content/about-subpage.md
Normal file
23
exampleSite/content/about-subpage.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: "Subpage"
|
||||
description: "Just a subpage of about"
|
||||
date: "2019-02-28"
|
||||
author: "Hugo Authors"
|
||||
slug: /about/subpage
|
||||
menu:
|
||||
about:
|
||||
identifier: about
|
||||
name: About
|
||||
title: About
|
||||
url: /about
|
||||
weight: 1
|
||||
subpage:
|
||||
identifier: subpage
|
||||
parent: about
|
||||
name: Subpage
|
||||
title: Subpage
|
||||
url: /about/subpage/
|
||||
weight: 10
|
||||
---
|
||||
|
||||
Just a subpage of About.
|
Loading…
Add table
Add a link
Reference in a new issue