Skip to content

Commit

Permalink
fix: Fixed a field mapping issue for fields in the FeedMe integration ([
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Oct 1, 2024
1 parent 834f65b commit fb7e251
Showing 1 changed file with 61 additions and 56 deletions.
117 changes: 61 additions & 56 deletions src/templates/_includes/integrations/feedme/seo-settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,6 @@ fields[seoMeta][metaGlobalVars][canonicalUrl]
label: 'SEO Keywords',
handle: 'seoKeywords',
},
{
label: 'SEO Image Source',
handle: 'seoImageSource',
default: {
type: 'select',
options: [
{
label: 'From Asset Field',
value: 'fromField',
},
{
label: 'Custom Image',
value: 'fromAsset',
},
{
label: 'Custom URL',
value: 'fromUrl',
},
],
},
},
{
label: 'SEO Asset Field',
handle: 'seoImageField',
},
{
label: 'SEO Custom Image',
handle: 'seoImageIds',
type: 'assets',
},
{
label: 'SEO Custom URL',
handle: 'seoImage',
Expand Down Expand Up @@ -158,8 +128,37 @@ fields[seoMeta][metaGlobalVars][canonicalUrl]
handle: 'twitterDescription',
},
{
label: 'X (Twitter) Image Source',
handle: 'twitterImageSource',
label: 'X (Twitter) Custom URL',
handle: 'twitterImage',
},
{
label: 'X (Twitter) Image Description',
handle: 'twitterImageDescription',
},
{
label: 'Facebook Title',
handle: 'ogTitle',
},
{
label: 'Facebook Description',
handle: 'ogDescription',
},
{
label: 'Facebook Custom URL',
handle: 'ogImage',
},
{
label: 'Facebook Image Description',
handle: 'ogImageDescription',
},
],
}, {
label: 'General Settings',
handle: 'metaBundleSettings',
fields: [
{
label: 'SEO Image Source',
handle: 'seoImageSource',
default: {
type: 'select',
options: [
Expand All @@ -179,30 +178,14 @@ fields[seoMeta][metaGlobalVars][canonicalUrl]
},
},
{
label: 'X (Twitter) Asset Field',
handle: 'twitterImageField',
label: 'SEO Asset Field',
handle: 'seoImageField',
},
{
label: 'X (Twitter) Custom Image',
handle: 'twitterImageIds',
label: 'SEO Custom Image',
handle: 'seoImageIds',
type: 'assets',
},
{
label: 'X (Twitter) Custom URL',
handle: 'twitterImage',
},
{
label: 'X (Twitter) Image Description',
handle: 'twitterImageDescription',
},
{
label: 'Facebook Title',
handle: 'ogTitle',
},
{
label: 'Facebook Description',
handle: 'ogDescription',
},
{
label: 'Facebook Image Source',
handle: 'ogImageSource',
Expand Down Expand Up @@ -234,12 +217,34 @@ fields[seoMeta][metaGlobalVars][canonicalUrl]
type: 'assets',
},
{
label: 'Facebook Custom URL',
handle: 'ogImage',
label: 'X (Twitter) Image Source',
handle: 'twitterImageSource',
default: {
type: 'select',
options: [
{
label: 'From Asset Field',
value: 'fromField',
},
{
label: 'Custom Image',
value: 'fromAsset',
},
{
label: 'Custom URL',
value: 'fromUrl',
},
],
},
},
{
label: 'Facebook Image Description',
handle: 'ogImageDescription',
label: 'X (Twitter) Asset Field',
handle: 'twitterImageField',
},
{
label: 'X (Twitter) Custom Image',
handle: 'twitterImageIds',
type: 'assets',
},
],
}, {
Expand Down

0 comments on commit fb7e251

Please sign in to comment.