Skip to content
mvanveen edited this page Jan 10, 2012 · 3 revisions

YAML Front Matter

Introduction

Posts in Dropblog are formatted with YAML frontmatter. The front matter looks like this:

Title: My Great Title
Author: Foo Bar
Time: 123456789

Our YAML is Dropblog-flavored, in the sense that we don't enforce case sensitivity with respect to YAML keys. You can access the keys in the API and within the code base with the lower case equivalent of the key. Here is how the above frontmatter would look in JSON:

{ 'title': 'My Great Title'
  'author: 'Foo Bar'
  'time': 123456789
}

In reality, the API exposes a few more variables, but the above view gives you a feel for it.

See Also

Clone this wiki locally