Skip to content

Instantly share code, notes, and snippets.

@rossriley
Last active November 14, 2017 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rossriley/727d1cb039b68f23aa050a9721c746e9 to your computer and use it in GitHub Desktop.
Save rossriley/727d1cb039b68f23aa050a9721c746e9 to your computer and use it in GitHub Desktop.
pages:
name: Pages
singular_name: Page
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
image:
type: image
teaser:
type: html
height: 150px
body:
type: html
height: 300px
repeater:
type: repeater
group: Content
limit: 3
prefix: "<p>This allows you to create multiple sets of fields. Use the add button at the bottom to create a new empty set.</p>"
fields:
title:
type: text
image:
type: image
extensions: [ gif, jpg, png ]
body:
type: html
contentblocks:
type: block
label: Content Blocks
group: Content
fields:
imagesection:
label: Image Section
fields:
title:
type: text
body:
type: html
height: 30px
image:
type: image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment