Skip to content

Instantly share code, notes, and snippets.

@arimolzer
Last active May 17, 2019 05:19
Show Gist options
  • Select an option

  • Save arimolzer/b9ed81d39b4dfab3274d78a015be3c9b to your computer and use it in GitHub Desktop.

Select an option

Save arimolzer/b9ed81d39b4dfab3274d78a015be3c9b to your computer and use it in GitHub Desktop.
title: Blog Post
hide: true
fields:
title:
display: 'Title'
type: text
localizable: true
width: 50
slug:
display: 'Slug'
width: 50
page_content:
display: 'Page Content'
type: bard
sets:
hero:
display: 'Hero Block'
fields:
image:
display: 'Image'
type: assets
container: main
max_files: 1
validate: 'ext:jpg,gif,png'
title:
display: 'Title'
type: text
subtitle:
display: 'Subtitle'
type: text
image:
display: 'Image'
fields:
image:
display: 'Image File'
type: assets
container: main
max_files: 1
validate: 'ext:jpg,gif,png'
alt_tag:
display: 'Alt Tag'
instructions: 'Used for disability screen readers and image searching. Please include a short description of the image.'
type: text
textarea:
display: 'Textarea'
fields:
text:
display: 'Rich Text Area'
type: redactor
container: main
two_column:
display: 'Two Columns'
fields:
column_one_content:
type: bard
display: 'Column one'
sets:
image:
display: 'Image'
fields:
image:
display: 'Image File'
type: assets
container: main
max_files: 1
validate: 'ext:jpg,gif,png'
alt_tag:
display: 'Alt Tag'
instructions: 'Used for disability screen readers and image searching. Please include a short description of the image.'
type: text
textarea:
display: 'Textarea'
fields:
text:
display: 'Rich Text Area'
type: redactor
container: main
column_two_content:
type: bard
display: 'Column two'
sets:
image:
display: 'Image'
fields:
image:
display: 'Image File'
type: assets
container: main
max_files: 1
validate: 'ext:jpg,gif,png'
alt_tag:
display: 'Alt Tag'
instructions: 'Used for disability screen readers and image searching. Please include a short description of the image.'
type: text
textarea:
display: 'Textarea'
fields:
text:
display: 'Rich Text Area'
type: redactor
container: main
block_quote:
display: 'Block Quote'
fields:
quote:
display: 'Quote'
type: textarea
author:
display: 'Author'
type: text
table:
display: 'Table'
fields:
table:
display: 'Table Data'
type: table
instructions: 'Add rows and columns. The top row will be used as the tabler header.'
style:
display: 'Table Style'
type: select
options:
default: 'Default'
striped: 'Striped'
dark: 'Dark'
dark-striped: 'Dark Striped'
default: default
video:
display: 'Video'
fields:
video:
display: 'Video URL'
type: video
instructions: 'Insert a Youtube, Vimeo, or HTML5 compatible video link into the field below.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment