Add blueprints and a navigation bar snippet for generating a primary navigation bar of pages.
This commit is contained in:
24
blueprints/fields/link-location.yml
Normal file
24
blueprints/fields/link-location.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
type: fields
|
||||
|
||||
fields:
|
||||
linkLocation:
|
||||
label: Link Location
|
||||
type: select
|
||||
options:
|
||||
type: query
|
||||
query: site.linkLocations.toStructure
|
||||
text: "{{ item.description }}"
|
||||
value: "{{ item.location }}"
|
||||
linkIndex:
|
||||
label: Link Position
|
||||
type: number
|
||||
min: 1
|
||||
default: 10
|
||||
linkText:
|
||||
label: Link Text
|
||||
help: Custom link text to use instead of the title.
|
||||
type: text
|
||||
linkIcon:
|
||||
label: Link Icon
|
||||
help: Font Awesome icon that is used for the link text.
|
||||
type: text
|
||||
Reference in New Issue
Block a user