Files
kirby-library/blueprints/fields/link-location.yml

25 lines
521 B
YAML

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