diff --git a/themes/gallo/static/admin/config.yml b/themes/gallo/static/admin/config.yml index ae91f71..4e16dae 100644 --- a/themes/gallo/static/admin/config.yml +++ b/themes/gallo/static/admin/config.yml @@ -6,7 +6,13 @@ backend: api_root: https://git.myco.systems/api/v1 base_url: https://git.myco.systems disable_local_backup: true -media_folder: themes/gallo/static/img + +public_folder: "/img" +media_folder: "themes/gallo/static/img" +media_library: + folder_support: true + max_file_size: 2000 + site_url: https://gallo.demo.myco.systems logo_url: https://gallo.demo.myco.systems/img/gallo_welding_inverted.svg locale: en @@ -15,6 +21,7 @@ search: false collections: - name: pages label: Pages + preview: false files: - name: artist label: The Artist @@ -63,70 +70,33 @@ collections: name: date widget: datetime - label: Question - name: questions + name: faq widget: list fields: - - label: Question - name: question - widget: string - - label: Answer - name: answer - widget: markdown - - label: Learn more link - required: false - name: learnMore + - label: Group + name: group widget: string + - label: Questions + name: questions + widget: list + fields: + - {label: Question, name: question, widget: string} + - {label: Answer, name: answer, widget: markdown} - name: catalog label: Catalog file: content/catalog/index.md fields: - - label: Item - name: catalog + - {label: Item, name: item, widget: string} + - {label: Quantity, name: quant, widget: number} + - {label: Dimensions, name: dimensions, widget: string} + - {label: Base Cost, name: baseCost, widget: string} + - {label: Delivery/Pickup, name: deliveryPickup, widget: string} + - {label: Install Breakdown, name: installBreakdown, widget: string} + - {label: Purchase Cost, name: purchaseCost, widget: string} + - {label: Category, name: cat, widget: string} + - {label: Thumbnail, name: thumbnail, widget: image} + - label: Gallery + name: gallery widget: list - collapsed: true fields: - - label: Item - name: item - widget: string - - label: Quantity - name: quant - widget: number - - label: Dimensions - name: dimensions - widget: string - - label: Base Cost - name: baseCost - widget: string - - label: Delivery/Pickup Cost - required: false - name: deliveryPickup - widget: string - - label: Install/Breakdown Cost - required: false - name: installBreakdown - widget: number - - label: Purchase Cost - required: false - name: purchaseCost - widget: string - - label: Category - name: cat - widget: select - options: - [ - "Backdrops", - "Arches", - "Canopies", - "Chandeliers", - "Signaturepieces", - "Centerpieces", - "Other", - ] - - label: Image - required: false - name: gallery - widget: list - fields: - - label: Path to image - name: image - widget: string \ No newline at end of file + - {label: Image, name: image, widget: image} \ No newline at end of file