Created
February 21, 2019 15:48
-
-
Save jslyonnais/41a1d4fd0308f0ba8a67739cadcc29c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"label": "{{lang}}_articles", | |
"name": "{{lang}}_articles", | |
"folder": "src/pages/articles/{{lang}}", | |
"create": true, | |
"slug": "{{slug}}", | |
"fields": [ | |
{ | |
"label": "Langue", | |
"name": "language", | |
"widget": "hidden", | |
"default": "{{lang}}" | |
}, | |
{ | |
"label": "Url", | |
"name": "url", | |
"widget": "hidden", | |
"default": "articles/{{slug}}" | |
}, | |
{ | |
"label": "Template Key", | |
"name": "templateKey", | |
"widget": "hidden", | |
"default": "articles" | |
}, | |
{ | |
"label": "Title", | |
"name": "title", | |
"widget": "string" | |
}, | |
{ | |
"label": "Tracking Title", | |
"name": "trackingTitle", | |
"widget": "string" | |
}, | |
{ | |
"label": "📝 Translation Page", | |
"name": "translatePath", | |
"widget": "relation", | |
"collection": "pages", | |
"searchFields": [ | |
"url" | |
], | |
"displayFields": [ | |
"url" | |
], | |
"valueField": "url" | |
}, | |
{ | |
"label": "META - SEO", | |
"name": "meta", | |
"widget": "object", | |
"fields": [ | |
{ | |
"label": "Title", | |
"name": "title", | |
"widget": "string" | |
}, | |
{ | |
"label": "Description", | |
"name": "description", | |
"widget": "text" | |
}, | |
{ | |
"label": "Shared Image", | |
"name": "image", | |
"widget": "image" | |
} | |
] | |
}, | |
{ | |
"label": "Publish Date", | |
"name": "date", | |
"widget": "datetime" | |
}, | |
{ | |
"label": "Author", | |
"name": "author", | |
"widget": "object", | |
"fields": [ | |
{ | |
"label": "Name", | |
"name": "name", | |
"widget": "string" | |
}, | |
{ | |
"label": "Position", | |
"name": "position", | |
"widget": "string" | |
}, | |
{ | |
"label": "Company", | |
"name": "company", | |
"widget": "string" | |
}, | |
{ | |
"label": "Image", | |
"name": "image", | |
"widget": "image" | |
}, | |
{ | |
"label": "Description", | |
"name": "description", | |
"widget": "text" | |
} | |
] | |
}, | |
{ | |
"label": "Featured", | |
"name": "featured", | |
"widget": "boolean", | |
"default": false | |
}, | |
{ | |
"label": "Is Interview?", | |
"name": "isInterview", | |
"widget": "boolean", | |
"default": false | |
}, | |
{ | |
"label": "Is Manifesto?", | |
"name": "isManifesto", | |
"widget": "boolean", | |
"default": false | |
}, | |
{ | |
"label": "Image", | |
"name": "image", | |
"widget": "image" | |
}, | |
{ | |
"label": "Image Alt", | |
"name": "imagealt", | |
"widget": "string" | |
}, | |
{ | |
"label": "Intro", | |
"name": "articleintro", | |
"widget": "text" | |
}, | |
{ | |
"label": "Quote", | |
"name": "quote", | |
"widget": "string" | |
}, | |
{ | |
"label": "Content", | |
"name": "content", | |
"widget": "markdown" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment