Skip to content

Instantly share code, notes, and snippets.

@lamenath
Last active August 29, 2015 14:23
Show Gist options
  • Save lamenath/9d6eb7c9f62fb5a14622 to your computer and use it in GitHub Desktop.
Save lamenath/9d6eb7c9f62fb5a14622 to your computer and use it in GitHub Desktop.
Page Document Mask, with a "Featured items" Content Slice single choice
{
"Content" : {
"body" : {
"fieldset" : "Dynamic page zone...",
"type" : "Slices",
"config" : {
"labels" : {
"featured-items" : [ {
"name" : "mini",
"display" : "Mini"
}, {
"name" : "simple",
"display" : "Simple"
},{
"name" : "micro",
"display" : "Micro"
} ]
},
"choices" : {
"featured-items" : {
"type" : "Group",
"fieldset" : "Featured items",
"config" : {
"fields" : {
"illustration" : {
"type" : "Image",
"config" : {
"constraint" : {
"height" : 1200
},
"thumbnails" : [ {
"name" : "Icon",
"width" : 300,
"height" : 300
} ]
}
},
"title" : {
"type" : "StructuredText",
"config" : {
"single" : "heading3",
"placeholder" : "Item title..."
}
},
"summary" : {
"type" : "StructuredText",
"fieldset" : "Short Summary",
"config" : {
"placeholder" : "Item summary...",
"single" : "paragraph"
}
},
"read-more" : {
"type" : "Link",
"config" : {
"placeholder" : "Button link..."
}
},
"read-more-label" : {
"type" : "StructuredText",
"config" : {
"placeholder" : "Link label...",
"single" : "paragraph"
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment