Created
May 1, 2015 22:14
-
-
Save use/f62c3fac6ee8938661b2 to your computer and use it in GitHub Desktop.
sorting example for bolt contenttypes
This file contains hidden or 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
homepage: | |
name: Homepage | |
slug: homepage | |
singular_name: Homepage feature | |
singular_slug: homepagefeature | |
fields: | |
title: | |
type: text | |
class: large | |
required: true | |
pattern: ".{2,255}" # see: http://html5pattern.com/ | |
error: "The Title field is required, and must contain at least 2 characters" | |
group: Text | |
sortorder: | |
type: integer | |
group: meta | |
postfix: Items will be displayed from lower order to higher | |
subtitle: | |
type: text | |
class: large | |
group: Text | |
teaser: | |
type: html | |
height: 150px | |
linktext: | |
type: text | |
class: large | |
group: Text | |
linkurl: | |
type: text | |
class: large | |
group: Text | |
image: | |
type: image | |
attrib: title | |
extensions: [ gif, jpg, png ] | |
default_status: publish | |
sort: sortorder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment