mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-24 18:54:11 +00:00
menu: allow menuPageRef, menu.pageRef and sidebarmenus.pageRef to point to resources #1008
This commit is contained in:
parent
14c19bb13c
commit
516e552ece
13 changed files with 76 additions and 56 deletions
docs/config/_default
|
@ -156,6 +156,12 @@ summaryLength = 10
|
|||
identifier = 'frontmatter'
|
||||
title = 'Front Matter Reference'
|
||||
pageRef = 'authoring/frontmatter/reference#annotated-front-matter'
|
||||
[[languages.en.menu.devshortcuts]]
|
||||
parent = 'theme'
|
||||
pre = '<i class="fa-fw fas fa-image"></i> '
|
||||
identifier = 'screenshotframe'
|
||||
title = 'Screenshot Frame'
|
||||
pageRef = 'images/hero.zip'
|
||||
|
||||
# this is ourrr way t' showcase th' multilang settings by
|
||||
# doing autotrrranlat'n of th' english content; we are
|
||||
|
@ -228,6 +234,12 @@ summaryLength = 10
|
|||
identifier = 'frontmatter'
|
||||
title = 'Front Matter Reference'
|
||||
pageRef = 'authoring/frontmatter/reference#annotated-front-matter'
|
||||
[[languages.pir.menu.devshortcuts]]
|
||||
parent = 'theme'
|
||||
pre = '<i class="fa-fw fas fa-image"></i> '
|
||||
identifier = 'screenshotframe'
|
||||
title = 'Screenshot Frame'
|
||||
pageRef = 'images/hero.zip'
|
||||
|
||||
# mounts are only needed in this showcase to access the publicly available screenshots and CHANGELOG;
|
||||
# remove this section if you don't need further mounts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue