Sha256: 0566aed543f2509d6be37fb4c657ad2b6e0abdd0dd413fcbc82061d068c0e4d5
Contents?: true
Size: 1.99 KB
Versions: 20
Compression:
Stored size: 1.99 KB
Contents
# Site metafield schema # # Syntax: # # <namespace_1>: # no empty spaces, only digits and underscores # label: <my label> # used as the label of a tab in the back-office # # label: # if you want to provide the label in another language (back-office) # # en: <your label in English if the local of the current user is English> # # fr: <your label in French> # position: <0..n> # position of the tab in the menu # fields: # <name_1>: # label: <my label> # used as the label of the HTML input. Use a hash if you want it in another languages. # hint: <my hint> # used as the hint of the HTML input. Use a hash if you want it in another languages. # type: <string|text|integer|float|image|boolean|select|color> # localized: <true|false> # if the value is scoped by the current locale when rendering the site. # sample: <any value> # value only used in Wagon for testing purpose. Will not be deployed # position: <0..n> # position of the input in the form # select_options: [array] # # select_options: # # <option_value_1>: <label> # use a hash instead if you want it in another languages. # # <option_value_2>: <label> # use a hash instead if you want it in another languages. # # <name_2>: # # ... # # <namespace_2>: # # ... # # # Simple example: # # shop: # label: My shop location # fields: # address: # type: string # hint: "Ex: 7 allee Albert Camus" # sample: "700 S Laflin St" # city: # type: string # hint: "Chicago, Paris, Blagnac, Toulouse" # sample: "Chicago" # zip_code: # type: string # hint: "Digits only" # sample: "60607" # hours: # type: text # hint: "Free text here" # sample: "6:00am - 8:00pm" # theme: # fields: # background_image: # type: image # hint: full screen image (min: 3000px x 3000px) # link_color: # type: color # font: # type: select # select_options: ['helvetica', 'Noto']
Version data entries
20 entries across 10 versions & 1 rubygems