Skip to content

Instantly share code, notes, and snippets.

@xiaohutai
Last active October 26, 2023 12:15
Show Gist options
  • Save xiaohutai/b5f44fec671cfff6691255354f6f769b to your computer and use it in GitHub Desktop.
Save xiaohutai/b5f44fec671cfff6691255354f6f769b to your computer and use it in GitHub Desktop.
Diff Bolt 5.1 vs Bolt 5.2
+ #    list_format: true  # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these
+     list_format: false # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these
+ canonical: https://example.org
- #canonical: example.org
+ maximum_listing_select: 50000
- maximum_listing_select: 1000
- # fit:           One of either none, crop (= crop-center), crop-top-left, crop-top, crop-top-right, crop-left, crop-right, crop-bottom-left, crop-bottom or crop-bottom-right.
- # allow_upscale: Determines whether small images will be enlarged to fit
- #                the requested dimensions.
- allow_upscale: false
+
+ # Use Ajaxy saving ("Stay on page"), or traditional saving
+ ajaxy_saving: false
+             extra:
+                 title:
+                     label: The Title
+                     placeholder: This is the placeholder for the title
+                 caption:
+                     label: Caption
+     list_format: '{contenttype} Nº {id}: {title} - {status}'
+         image_another:
+             type: image
+             extensions: [ gif, jpg, png ]
+             alt: true
+             placeholder: https://source.unsplash.com/1280x768/?animal,koala,kitten,puppy,cute/__random__
+             extensions: [pdf, png, csv, xlsx, txt, gif, doc, docx, pptx, mp3, mp4, zip]
+         author:
+             type: text
+             label: Author
+             link_to_record: true
+ # Thumbs, unless overridden in `../routes.yaml` or another location.
- # Thumbs, unless overridden in `../routing.yml` or another location.
+ # This file is auto-generated by Bolt. Please change no more than binds.
- # This file is auto-generated by Bolt. Do not modify.
+ bind: {  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment