Skip to content

Instantly share code, notes, and snippets.

@samlfair

samlfair/page json Secret

Last active Mar 19, 2021
Embed
What would you like to do?
JSON for a basic page in PRismic
{
"Main": {
"title": {
"type": "Text",
"config": {
"label": "title"
}
},
"uid": {
"type": "UID",
"config": {
"label": "uid"
}
},
"image": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "image"
}
},
"content": {
"type": "StructuredText",
"config": {
"multi": "paragraph, heading2, strong, em, hyperlink, list-item",
"allowTargetBlank": true,
"label": "content"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment