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:
parent
2141ea6564
commit
e8e245e20f
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue