Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ItsReaSz/2706b0468a648e0b524bec5ac41c722b to your computer and use it in GitHub Desktop.
Save ItsReaSz/2706b0468a648e0b524bec5ac41c722b to your computer and use it in GitHub Desktop.
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Three columns of channel articles with newsletter signup"
},
"description": {
"en-GB": "Container with newsletter signup and three channel columns, each containing a list of articles"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"wings": {
"value": "",
"control": "project/wings"
},
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"divider": {
"value": "",
"control": "project/divider"
},
"crown": {
"value": "",
"control": "project/crown"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Container header"
},
"description": {
"en-GB": "Container-header"
},
"template": "containers/global/container-header/container-header.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content"
},
"controls": {
"container_title": {
"value": {
"en-GB": "Title",
"fr-FR": "Tître"
},
"label": {
"en-GB": "Container title"
},
"control": "core/text"
},
"link": {
"value": {
"label": {
"en-GB": "",
"fr-FR": ""
},
"page": "",
"id": ""
},
"label": {
"en-GB": "Link"
},
"control": "core/route"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"wings": {
"value": "wings",
"control": "project/wings"
},
"show_margins": {
"value": "",
"control": "project/layout/show_margins"
},
"show_smaller_title": {
"value": 0,
"label": {
"en-GB": "Show small title"
},
"control": "core/boolean"
},
"show_tools": {
"value": "",
"label": {
"en-GB": "Show filters"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "None"
}
},
{
"value": "events",
"label": {
"en-GB": "Events"
}
},
{
"value": "articles",
"label": {
"en-GB": "Articles"
}
}
]
},
"show_link": {
"value": "",
"label": {
"en-GB": "Show link"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "None"
}
},
{
"value": "events",
"label": {
"en-GB": "All events"
}
},
{
"value": "articles",
"label": {
"en-GB": "All articles"
}
}
]
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"frontender": "cd519446c3cf875f3876238c9bc1d74e"
},
{
"template": "containers/global/layout/layout.html.twig",
"name": {
"en-GB": "Layout"
},
"description": {
"en-GB": "Generic container to wrap content in layout instructions"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"crown": {
"value": "",
"control": "project/crown"
},
"divider": {
"value": "",
"control": "project/divider"
},
"container_tag": {
"value": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"layout": {
"value": "layout",
"label": {
"en-GB": "Layout"
},
"control": "project/layout/layout"
},
"show_secondary_first": {
"value": 0,
"control": "project/layout/show_secondary_first"
},
"show_divider": {
"value": 0,
"control": "project/layout/show_divider"
},
"show_narrow": {
"value": 0,
"control": "project/layout/show_narrow"
},
"show_outer_wing": {
"value": 1,
"control": "project/layout/show_outer_wing"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Channel grid"
},
"description": {
"en-GB": ""
},
"template": "containers/global/channels/channels.html.twig",
"template_config": {
"content": {
"label": {
"en-GB": "Content Setting"
},
"controls": {
"display_type": {
"value": "post",
"label": {
"en-GB": "Display article as"
},
"options": [
{
"value": "post",
"label": {
"en-GB": "Post"
}
},
{
"value": "row",
"label": {
"en-GB": "Row"
}
}
],
"control": "core/list"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "3c19d3d47045bd5b31f50782ed034eda"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "0c0e899494b56d3905a3a72068c57b95"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "72fb35993bfe8102e0619734c92adae9"
}
],
"frontender": "3683896d2b944df1216239c2bb626b9a"
},
{
"name": {
"en-GB": "Newsletter signup"
},
"description": {
"en-GB": "Newsletter signup"
},
"template": "modules/newsletter-signup/newsletter-signup.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"container_class": {
"value": "leader trailer",
"control": "project/container_class"
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"value": {
"en-GB": "Be sure you don't miss our latest updates.",
"fr-FR": "Ne pas manquer l'opportunité de travailler avec CTA. Abbonez-vous maintenant!"
},
"control": "core/text"
},
"button": {
"value": {
"en-GB": "Subscribe",
"fr-FR": "Souscrire"
},
"control": "core/text"
}
}
}
},
"frontender": "0b2c4892ab7ffb001d2fe4b02b23b72e"
}
],
"frontender": "3b4415ac90026bfa75c7b1b454495a8f"
}
],
"frontender": "40dc36df021dc31c0dc9b75b8be0a2d9"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment