Skip to content

Commit

Permalink
small adjustemts to rule 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sintaxi committed Mar 5, 2013
1 parent 9977b25 commit 75e7a1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ You Files named `_data.json` are special and make data available to templates.
Your `_data.json` file may look contain the following...

{ <-- avaliable to all templates as `globals.public.articles.data`
"hello-world": { <-- because this matches the filename, these variables will be
"title": "Hello World. My very first Article.", made available in the hello-world.jade template when being
"date": "Feb 28, 2013" served. This object is also available in all the templates
}, as `globals.public.articles.data.hello-world`.
{ <-- avaliable to all templates as `globals.public.articles.data`
"hello-world": { <-- because this matches the filename, these variables will be
"title": "Hello World. My very first Article.", made available in the hello-world.jade template when being
"date": "Feb 28, 2013" served. This object is also available in all the templates
}, as `globals.public.articles.data.hello-world`.
"hello-brazil": {
"title": "Hello Brazil. I like Brazil too.",
"date": "March 4, 2013"
Expand Down

0 comments on commit 75e7a1e

Please sign in to comment.