Skip to content

Commit

Permalink
Fix reversed file names
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Apr 17, 2023
1 parent cb56872 commit bd13407
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
44 changes: 28 additions & 16 deletions resources/fieldsets/globals_seo_social_defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
title: 'Globals SEO: Social Sharing - Generate Social Images'
title: 'Globals SEO: Social Sharing - Defaults'
fields:
-
handle: use_social_image_generation
field:
display: 'Use Social Images generation'
type: toggle
icon: toggle
instructions: 'Enable Social Image generation. **Important**: you need to have Puppeteer and Browsershot installed.'
handle: og_image
field: common.image
config:
container: social_images
localizable: true
listable: hidden
display: 'Social image'
instructions_position: below
instructions: 'The default OG image. Can be overridden per entry. The recommended size is 1200px x 630px. This image will be focal cropped to this dimension.'
width: 50
-
handle: twitter_image
field: common.image
config:
container: social_images
localizable: true
listable: hidden
display: 'Twitter image'
instructions_position: below
instructions: 'The default Twitter image. Can be overridden per entry. Images should have an aspect ratio of 2:1 with minimum dimensions of 300x157. This image will be focal cropped to this dimension.'
width: 50
-
handle: social_images_collections
handle: twitter_handle
field:
mode: select
display: 'Collections with Social Images'
type: collections
icon: collections
instructions: 'Chosen collections will show a _Generate Social Images_ button in the collections overview.'
instructions_position: below
listable: hidden
display: 'Twitter handle'
width: 50
if:
use_social_image_generation: 'equals true'
input_type: text
type: text
localizable: true
instructions: 'The Twitter user name that should be included with Twitter Card tags.'
instructions_position: below
prepend: '@'
antlers: false
44 changes: 16 additions & 28 deletions resources/fieldsets/globals_seo_social_generate_social_images.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
title: 'Globals SEO: Social Sharing - Defaults'
title: 'Globals SEO: Social Sharing - Generate Social Images'
fields:
-
handle: og_image
field: common.image
config:
container: social_images
localizable: true
listable: hidden
display: 'Social image'
handle: use_social_image_generation
field:
display: 'Use Social Images generation'
type: toggle
icon: toggle
instructions: 'Enable Social Image generation. **Important**: you need to have Puppeteer and Browsershot installed.'
instructions_position: below
instructions: 'The default OG image. Can be overridden per entry. The recommended size is 1200px x 630px. This image will be focal cropped to this dimension.'
width: 50
-
handle: twitter_image
field: common.image
config:
container: social_images
localizable: true
listable: hidden
display: 'Twitter image'
instructions_position: below
instructions: 'The default Twitter image. Can be overridden per entry. Images should have an aspect ratio of 2:1 with minimum dimensions of 300x157. This image will be focal cropped to this dimension.'
width: 50
-
handle: twitter_handle
handle: social_images_collections
field:
mode: select
display: 'Collections with Social Images'
type: collections
icon: collections
instructions: 'Chosen collections will show a _Generate Social Images_ button in the collections overview.'
instructions_position: below
listable: hidden
display: 'Twitter handle'
width: 50
input_type: text
type: text
localizable: true
instructions: 'The Twitter user name that should be included with Twitter Card tags.'
instructions_position: below
prepend: '@'
antlers: false
if:
use_social_image_generation: 'equals true'

0 comments on commit bd13407

Please sign in to comment.