Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 08:16
Show Gist options
  • Save ItsReaSz/5be077ef8deb5c28c6b891bab7d87204 to your computer and use it in GitHub Desktop.
Save ItsReaSz/5be077ef8deb5c28c6b891bab7d87204 to your computer and use it in GitHub Desktop.
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Cross section"
},
"description": {
"en-GB": "Featured articles with link to current and previous month’s 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"
},
"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": "No"
}
},
{
"value": "container-header--filter",
"label": {
"en-GB": "Yes"
}
}
]
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"containers": [],
"frontender": "37edcecdeacde1040525cee0c445b39f"
},
{
"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": {
"container_tag": {
"value": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"show_secondary_first": {
"value": 0,
"control": "project/layout/show_secondary_first"
},
"show_divider": {
"value": 0,
"control": "project/layout/show_divider"
},
"layout": {
"value": "layout",
"control": "project/layout/layout"
},
"show_outer_wing": {
"value": 0,
"control": "project/layout/show_outer_wing"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Main"
},
"description": {
"en-GB": "Main"
},
"template": "modules/articles/cross-section/cross-section.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": 5,
"control": "core/hidden"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "ec334e9c-68e7-4260-b2c6-058697731ba2"
}
}
}
},
"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_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": 1,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publication": {
"value": 1,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "85557aa916a610955cda15a4cd359deb"
},
{
"name": {
"en-GB": "Aside"
},
"description": {
"en-GB": "Aside"
},
"template": "modules/articles/short-list/short-list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"skip": {
"value": 5,
"control": "core/hidden"
},
"limit": {
"value": 6,
"control": "core/hidden"
},
"articleType": {
"value": "blog",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "ec334e9c-68e7-4260-b2c6-058697731ba2"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"value": {
"en-GB": "Older posts",
"fr-FR": "Older posts"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_class": {
"value": "gutters",
"control": "core/hidden"
},
"shorten_to": {
"value": 3,
"control": "core/hidden"
}
}
}
},
"frontender": "a23153245a50ced2e6c7f43de7876289"
}
],
"frontender": "9303c12731c92dee09add7520f3c4b17"
}
],
"frontender": "6007546527216a89c2a9f574b785c375"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment