Choose your preferred SSG:
Choose your preferred SSG:

Using URL Inputs to edit your data

Single line input for relative, absolute and fully qualified URLs. URL inputs show a preview of the target. Previews for URLs without a protocol are requested prefixed with http://

URL inputs are shown for inputs configured with the type url, or for keys matching:

  • url
  • *_url
  • link
  • *_link
external_url key shown as a url input
internal_url key shown as a url input
link key shown as a url input
Naming convention
external_url: 'https://bitbucket.org/'
internal_url: /editing/visual-editor/
link: github.com
Input configuration
another_website: 'https://github.com/'
_inputs:
  another_website:
    type: url

Options

URL inputs have the following available options:

paths - Object

Paths to common folders. Each path is relative to global site source. If unset, the paths default to those configured in the global configuration. The available keys are:

  • uploads for the default path when linking to an existing site file.
  • dam_uploads for the default path when linking to an existing DAM file.
  • dam_static for the location of statically copied assets for DAM files.

uploads and dam_uploads have a number of dynamic placeholders available.

Was this article helpful? or Suggest an improvement >

Related articles