Skip to content

Instantly share code, notes, and snippets.

@babsgosgens
Created September 28, 2018 11:51
Show Gist options
  • Save babsgosgens/2565d650cc3216e956e52e94d6293614 to your computer and use it in GitHub Desktop.
Save babsgosgens/2565d650cc3216e956e52e94d6293614 to your computer and use it in GitHub Desktop.
Empty item page. Must only be used for single event, project, channel or article page.
{
"template": "layouts/item.html.twig",
"description": {
"en-GB": "Empty item page. Must only be used for single event, project, channel or article page."
},
"template_config": {
"attributes": {
"label": {
"en-GB": "Attributes"
},
"controls": {
"title": {
"value": {
"en-GB": "CTA",
"fr-FR": "CTA"
},
"label": {
"en-GB": "Page title"
},
"core": "core/text",
"type": "hidden"
},
"meta_description": {
"value": {
"en-GB": "CTA is a joint international institution of the African, Caribbean and Pacific (ACP) Group of States and the European Union (EU).",
"fr-FR": "CTA is a joint international institution of the African, Caribbean and Pacific (ACP) Group of States and the European Union (EU)."
},
"label": {
"en-GB": "Serp Description"
},
"core": "core/textarea",
"type": "hidden"
},
"meta_keywords": {
"value": {
"en-GB": "Agricultural policies, Regional Trade and Value Chains, ICT4Ag, Knowledge management",
"fr-FR": "Agricultural policies, Regional Trade and Value Chains, ICT4Ag, Knowledge management"
},
"label": {
"en-GB": "Serp keywords"
},
"core": "core/textarea",
"type": "hidden"
}
}
},
"config": {
"label": {
"en-GB": "Config"
},
"controls": {
"body_class": {
"value": "",
"label": {
"en-GB": "Body class"
},
"core": "core/text",
"type": "hidden"
},
"colour_background": {
"value": "",
"control": "project/colour_background"
},
"colour_theme": {
"value": "",
"control": "project/colour_theme"
}
}
},
"model": {
"label": {
"en": "Resource"
},
"controls": {
"data": {
"value": {
"adapter": "SCR",
"model": "articles",
"id": "fe35d023-590d-445d-ac81-09e4a28606e6"
},
"adapters": [
{
"value": "SCR",
"label": {
"en-GB": "SCR"
},
"models": [
{
"value": "articles",
"label": {
"en-GB": "Articles"
}
},
{
"value": "channels",
"label": {
"en-GB": "Channels"
}
},
{
"value": "events",
"label": {
"en-GB": "Events"
}
}
]
}
],
"control": "project/model/article_channel_event"
},
"analysis": {
"value": "true",
"control": "project/model/analysis"
},
"includeRelated": {
"value": "true",
"control": "project/model/include_related"
}
}
}
},
"containers": [],
"alias": [],
"frontender": "a3ce079e130606c7f93a32a4c921628c",
"route": [],
"name": {
"en-GB": "Item page"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment