Skip to content

Instantly share code, notes, and snippets.

@arnaudlewis
Created August 31, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnaudlewis/bf8abf0c9668fbe2fa27 to your computer and use it in GitHub Desktop.
Save arnaudlewis/bf8abf0c9668fbe2fa27 to your computer and use it in GitHub Desktop.
"Social Cards" : {
"social_cards_enabled" : {
"type" : "Select",
"fieldset" : "Social Sharing",
"config" : {
"placeholder" : "Disable",
"label" : "Enable Social Buttons",
"options" : [ "Enabled" ]
}
},
"social" : {
"fieldset" : "Custom Social Cards...",
"type" : "Slices",
"config" : {
"choices" : {
"general_card" : {
"type" : "Group",
"fieldset" : "General Card",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"card_image" : {
"type" : "Image",
"config" : {
"placeholder" : "Image"
}
}
}
}
},
"product_card" : {
"type" : "Group",
"fieldset" : "Product Card",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"card_amount" : {
"type" : "Number",
"config" : {
"label" : "Amount"
}
},
"card_currency" : {
"type" : "Text",
"config" : {
"label" : "Currency"
}
},
"card_image0" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
},
"card_image1" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
},
"card_image2" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
},
"card_image3" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
},
"card_image4" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
},
"card_image5" : {
"type" : "Image",
"config" : {
"placeholder" : "Gallery Image"
}
}
}
}
},
"place_card" : {
"type" : "Group",
"fieldset" : "Place Card",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"coordinates" : {
"type" : "GeoPoint"
},
"card_image" : {
"type" : "Image",
"config" : {
"placeholder" : "Image"
}
}
}
}
},
"email" : {
"type" : "Group",
"fieldset" : "Email",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Subject"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Message Content"
}
}
}
}
},
"twitter_summary" : {
"type" : "Group",
"fieldset" : "Twitter Summary",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"twitter_site" : {
"type" : "Text",
"config" : {
"label" : "Website",
"placeholder" : "The Twitter @username the card should be attributed to."
}
},
"card_image" : {
"type" : "Image",
"config" : {
"placeholder" : "Image"
}
}
}
}
},
"twitter_summary_large" : {
"type" : "Group",
"fieldset" : "Twitter Summary Large Image",
"config" : {
"repeat" : false,
"fields" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"twitter_site" : {
"type" : "Text",
"config" : {
"label" : "Website",
"placeholder" : "The Twitter @username the card should be attributed to."
}
},
"twitter_creator" : {
"type" : "Text",
"config" : {
"label" : "Creator",
"placeholder" : "The Twitter @username of the content creator / author."
}
},
"card_image" : {
"type" : "Image",
"config" : {
"placeholder" : "Image"
}
}
}
}
},
"twitter_app" : {
"type" : "Group",
"fieldset" : "Twitter App",
"config" : {
"repeat" : false,
"fields" : {
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description"
}
},
"twitter_site" : {
"type" : "Text",
"config" : {
"label" : "Username",
"placeholder" : "The Twitter @username the card should be attributed to."
}
},
"app_country" : {
"type" : "Text",
"config" : {
"label" : "Country",
"placeholder" : "Region of this App (US, FR ...)"
}
},
"iphone_name" : {
"type" : "Text",
"fieldset" : "iPhone",
"config" : {
"label" : "iPhone - Name",
"placeholder" : "Name"
}
},
"iphone_id" : {
"type" : "Text",
"config" : {
"label" : "iPhone - ID",
"placeholder" : "App ID"
}
},
"iphone_url" : {
"type" : "Text",
"config" : {
"label" : "iPhone - URL",
"placeholder" : "App URL"
}
},
"ipad_name" : {
"type" : "Text",
"config" : {
"label" : "iPad - Name",
"placeholder" : "Name"
}
},
"ipad_id" : {
"type" : "Text",
"config" : {
"label" : "iPad - ID",
"placeholder" : "App ID"
}
},
"ipad_url" : {
"type" : "Text",
"config" : {
"label" : "iPad - URL",
"placeholder" : "App URL"
}
},
"android_name" : {
"type" : "Text",
"config" : {
"label" : "Android - Name",
"placeholder" : "Name"
}
},
"android_id" : {
"type" : "Text",
"config" : {
"label" : "Android - ID",
"placeholder" : "App ID"
}
},
"android_url" : {
"type" : "Text",
"config" : {
"label" : "Android - URL",
"placeholder" : "App URL"
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment