Skip to content

Instantly share code, notes, and snippets.

@Duaner
Created May 10, 2017 13:53
Show Gist options
  • Save Duaner/551a453b1d5376f9bb71a41b89b2a8b2 to your computer and use it in GitHub Desktop.
Save Duaner/551a453b1d5376f9bb71a41b89b2a8b2 to your computer and use it in GitHub Desktop.
{
"Headings" : {
"title" : {
"type" : "StructuredText",
"fieldset" : "Main title",
"config" : {
"single" : "heading1",
"placeholder" : "As displayed when with the content"
}
},
"explicittitle" : {
"fieldset" : "Optional explicit title",
"type" : "StructuredText",
"config" : {
"single" : "heading2",
"placeholder" : "Useful if your main title isn't explicit about the topic (most notably, for links)"
}
},
"shortlede" : {
"fieldset" : "Short lede (~15 words)",
"type" : "StructuredText",
"config" : {
"single" : "paragraph",
"placeholder" : "The shortest catcher to your topic"
}
},
"longlede" : {
"fieldset" : "Long lede (~100 words)",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,em,strong,hyperlink",
"placeholder" : "The best way to describe the exhaustive coverage of the article",
"minHeight" : "100px"
}
},
"illustration" : {
"fieldset" : "Main illustration",
"type" : "Image",
"config" : {
"constraint" : {
"width" : 800.0
},
"thumbnails" : [ {
"name" : "Icon",
"width" : 100.0,
"height" : 100.0
}, {
"name" : "Column",
"width" : 320.0,
"height" : 320.0
}, {
"name" : "Wide",
"width" : 600.0,
"height" : 300.0
} ]
}
}
},
"Content" : {
"content" : {
"fieldset" : "Main content",
"type" : "StructuredText",
"config" : {
"placeholder" : "This is where your all your content goes.",
"minHeight" : "400px",
"imageConstraint" : {
"width" : 300.0
}
}
}
},
"Metadata" : {
"related[0]" : {
"fieldset" : "Related document",
"type" : "Link",
"config" : {
"placeholder" : "Related article #1",
"select" : "document",
"masks" : [ "article" ]
}
},
"related[1]" : {
"type" : "Link",
"config" : {
"placeholder" : "Related article #2",
"select" : "document",
"masks" : [ "article" ]
}
},
"related[2]" : {
"type" : "Link",
"config" : {
"placeholder" : "Related article #3",
"select" : "document",
"masks" : [ "article" ]
}
},
"date" : {
"fieldset" : "Post properties",
"type" : "Date",
"config" : {
"label" : "Post date"
}
},
"allow_comments" : {
"type" : "Select",
"config" : {
"label" : "Allow comments",
"options" : [ "Yes", "No" ]
}
},
"priority" : {
"type" : "Number",
"config" : {
"label" : "Priority",
"min" : 0.0
}
},
"author" : {
"fieldset" : "Author",
"type" : "Link",
"config" : {
"select" : "document",
"masks" : [ "author" ],
"placeholder" : "Select this article's author"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment