Skip to content

Instantly share code, notes, and snippets.

@rossriley
Last active August 29, 2015 14:17
Show Gist options
  • Save rossriley/fdc9f545a8f122215334 to your computer and use it in GitHub Desktop.
Save rossriley/fdc9f545a8f122215334 to your computer and use it in GitHub Desktop.
Using Anchors and Refs for Bolt Contenttypes
pages:
name: Pages
singular_name: Page
field_defaults: &defaults
title:
type: text
class: large
slug:
type: slug
uses: title
image:
type: image
teaser:
type: html
height: 150px
body:
type: html
height: 300px
fields:
<<: *defaults
taxonomy: [ chapters ]
recordsperpage: 100
about-pages:
name: About Pages
singular_name: About Page
fields:
<<: *defaults
extra1:
type: html
height: 300px
extra2:
type: html
height: 300px
taxonomy: [ chapters ]
recordsperpage: 100
detail-pages:
name: Detail Pages
singular_name: Detail Page
fields:
<<: *defaults
extra1:
type: html
height: 300px
extra2:
type: html
height: 300px
extra3:
type: html
height: 300px
extra4:
type: html
height: 300px
taxonomy: [ chapters ]
recordsperpage: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment