Fix Data Files example around iterative over files in a subfolder of _data.

Addresses @fkostadinov's comment in #2395:
https://github.com/jekyll/jekyll/pull/2395#issuecomment-48151478
This commit is contained in:
Parker Moore 2014-07-09 08:24:33 -07:00
parent 2141ea6564
commit e8e245e20f
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ The organizations can then be accessed via `site.data.orgs`, followed by the fil
{% highlight html %} {% highlight html %}
{% raw %} {% raw %}
<ul> <ul>
{% for org in site.data.orgs %} {% for org_hash in site.data.orgs %}
{% assign org = org_hash[1] %}
<li> <li>
<a href="https://github.com/{{ org.username }}"> <a href="https://github.com/{{ org.username }}">
{{ org.name }} {{ org.name }}