proofed changes

This commit is contained in:
David Smith 2015-02-15 17:16:54 -05:00
parent f2696c1c4c
commit ae0b13b531
1 changed files with 7 additions and 3 deletions

View File

@ -117,9 +117,9 @@ The organizations can then be accessed via `site.data.orgs`, followed by the fil
## Example: Accessing a specific author ## 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 %} {% highlight yaml %}
dave: dave:
name: David Smith name: David Smith
@ -136,7 +136,11 @@ author: dave
--- ---
{% assign author = site.data.people.[page.author] %} {% assign author = site.data.people.[page.author] %}
<a rel="author" href="{{ author.twitter }}" title="{{ author.name }}">author.name</a> <a rel="author"
href="{{ author.twitter }}"
title="{{ author.name }}">
{{author.name}}
</a>
{% endraw %} {% endraw %}
{% endhighlight %} {% endhighlight %}