diff --git a/site/_docs/datafiles.md b/site/_docs/datafiles.md index f0820dd1..d602f96a 100644 --- a/site/_docs/datafiles.md +++ b/site/_docs/datafiles.md @@ -117,9 +117,9 @@ The organizations can then be accessed via `site.data.orgs`, followed by the fil ## Example: Accessing a specific author -Pages and posts can also access a specific item. The example below shows how to access a specific item: +Pages and posts can also access a specific data item. The example below shows how to access a specific item: -'_data/peoplejekyll.yml': +'_data/peoplejekyll.yml`: {% highlight yaml %} dave: name: David Smith @@ -136,7 +136,11 @@ author: dave --- {% assign author = site.data.people.[page.author] %} - + {% endraw %} {% endhighlight %}