Refactor breadcrumb

This commit is contained in:
mark
2023-12-25 14:45:30 +01:00
parent 47ca9d303a
commit 134e544718
8 changed files with 64 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
comment: Displays a breadcrumb for a specific page.
arguments:
page:
type:
- '*hugolib.pageState'
- '*hugolib.pageForShortcode'
optional: false
comment: Page to display the breadcrumb for.
group: partial
path:
type: string
optional: true
comment: Path of the page to display the breadcrumb for.
group: shortcode