|
49 | 49 | # config.preview = { |
50 | 50 | # host: https://www.my-static-site.com |
51 | 51 | # auth: |
52 | | - # username: <%= ENV["BASIC_AUTH_USERNAME"] %%> |
53 | | - # password: <%= ENV["BASIC_AUTH_PASSWORD"] %%> |
| 52 | + # username: <%= ENV["BASIC_AUTH_USERNAME"] %> |
| 53 | + # password: <%= ENV["BASIC_AUTH_PASSWORD"] %> |
54 | 54 | # } |
55 | 55 | # Preview config per site is supported as well. |
56 | 56 | # |
57 | 57 | # config.preview = { |
58 | 58 | # My site name: |
59 | 59 | # host: https://www.my-static-site.com |
60 | 60 | # auth: |
61 | | - # username: <%= ENV["BASIC_AUTH_USERNAME"] %%> |
62 | | - # password: <%= ENV["BASIC_AUTH_PASSWORD"] %%> |
| 61 | + # username: <%= ENV["BASIC_AUTH_USERNAME"] %> |
| 62 | + # password: <%= ENV["BASIC_AUTH_PASSWORD"] %> |
63 | 63 | # } |
64 | 64 |
|
65 | 65 | # === Picture rendering settings |
|
207 | 207 | # config.admin_page_preview_layout = "application" |
208 | 208 |
|
209 | 209 | # The sizes for the preview size select in the page editor. |
210 | | - # config.page_preview_sizes = [360, 640, 768, 1024, 1280, 1440] |
| 210 | + # config.page_preview_sizes = ["360", "640", "768", "1024", "1280", "1440"] |
211 | 211 |
|
212 | 212 | # Enable full text search configuration |
213 | 213 | # |
|
224 | 224 |
|
225 | 225 | # The storage adapter for Pictures and Attachments |
226 | 226 | # |
227 | | - config.storage_adapter = "dragonfly" |
| 227 | + config.storage_adapter = "active_storage" |
| 228 | + |
| 229 | + # Additional JS modules to be imported in the Alchemy admin UI |
| 230 | + # |
| 231 | + # Be sure to also pin the modules with +Alchemy.importmap+. |
| 232 | + # |
| 233 | + # == Example |
| 234 | + # |
| 235 | + # Alchemy.importmap.pin "flatpickr/de", |
| 236 | + # to: "https://ga.jspm.io/npm:flatpickr@4.6.13/dist/l10n/de.js" |
| 237 | + # |
| 238 | + # config.admin_js_imports << "flatpickr/de" |
| 239 | + |
| 240 | + # Additional importmaps to be included in the Alchemy admin UI |
| 241 | + # |
| 242 | + # Be sure to also pin modules with +Alchemy.importmap+. |
| 243 | + # |
| 244 | + # config.admin_importmaps.add( |
| 245 | + # importmap_path: root.join("config/importmap.rb"), |
| 246 | + # source_paths: [ |
| 247 | + # root.join("app/javascript") |
| 248 | + # ], |
| 249 | + # name: "admin_extension" |
| 250 | + # ) |
| 251 | + |
| 252 | + # Additional stylesheets to be included in the Alchemy admin UI |
| 253 | + # config.admin_stylesheets.add("my_app/admin_extension") |
| 254 | + |
| 255 | + # Define page publish targets |
| 256 | + # |
| 257 | + # A publish target is a ActiveJob that gets performed |
| 258 | + # whenever a user clicks the publish page button. |
| 259 | + # |
| 260 | + # Use this to trigger deployment hooks of external |
| 261 | + # services in an asychronous way. |
| 262 | + # |
| 263 | + # config.publish_targets << "MyPublishJob" |
| 264 | + |
| 265 | + # Configure tabs in the link dialog |
| 266 | + # |
| 267 | + # With this configuration that tabs in the link dialog can be extended |
| 268 | + # without overwriting or defacing the Admin Interface. |
| 269 | + # |
| 270 | + # config.link_dialog_tabs << "Acme::LinkTab" |
228 | 271 | end |
0 commit comments