Fix typo in data docs; update section pagination for migrations to correctly point back to data

This commit is contained in:
Matt Swanson 2013-09-05 09:37:11 -04:00
parent f864b69019
commit eca642bf6f
2 changed files with 8 additions and 6 deletions

View File

@ -46,16 +46,18 @@ In `_data/members.yml`:
This data can be accessed via `site.data.members` (notice that the filename This data can be accessed via `site.data.members` (notice that the filename
determines the variable name). determines the variable name).
You can now do render the list of members in a template: You can now render the list of members in a template:
{% highlight html %} {% highlight html %}
{% raw %}
<ul> <ul>
{% raw %}{% for member in site.data.members %}{% endraw %} {% for member in site.data.members %}
<li> <li>
<a href="https://github.com/{% raw %}{{ member.github }}{% endraw %}"> <a href="https://github.com/{{ member.github }}">
{% raw %}{{ member.name }}{% endraw %} {{ member.name }}
</a> </a>
</li> </li>
{% raw %}{% end %}{% endraw %} {% end %}
</ul> </ul>
{% endraw %}
{% endhighlight %} {% endhighlight %}

View File

@ -1,7 +1,7 @@
--- ---
layout: docs layout: docs
title: Blog migrations title: Blog migrations
prev_section: variables prev_section: data
next_section: templates next_section: templates
permalink: /docs/migrations/ permalink: /docs/migrations/
--- ---