templates docs: .category, .categories, and .tags only apply to posts. [ci skip]

Fixes #4987.
This commit is contained in:
Parker Moore 2016-06-05 16:02:01 -07:00
parent 688c7b1925
commit 1f01c88fa0
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 32 additions and 32 deletions

View File

@ -96,38 +96,6 @@ front matter of a page or post.
</p>
</td>
</tr>
<tr>
<td>
<p style="margin-bottom: 5px;"><code>category</code></p>
<p><code>categories</code></p>
</td>
<td>
<p>
Instead of placing posts inside of folders, you can specify one or
more categories that the post belongs to. When the site is generated
the post will act as though it had been set with these categories
normally. Categories (plural key) can be specified as a <a
href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list</a> or a
comma-separated string.
</p>
</td>
</tr>
<tr>
<td>
<p><code>tags</code></p>
</td>
<td>
<p>
Similar to categories, one or multiple tags can be added to a post.
Also like categories, tags can be specified as a YAML list or a
comma-separated string.
</p>
</td>
</tr>
</tbody>
</table>
</div>
@ -176,6 +144,38 @@ These are available out-of-the-box to be used in the front matter for a post.
</p>
</td>
</tr>
<tr>
<td>
<p style="margin-bottom: 5px;"><code>category</code></p>
<p><code>categories</code></p>
</td>
<td>
<p>
Instead of placing posts inside of folders, you can specify one or
more categories that the post belongs to. When the site is generated
the post will act as though it had been set with these categories
normally. Categories (plural key) can be specified as a <a
href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list</a> or a
comma-separated string.
</p>
</td>
</tr>
<tr>
<td>
<p><code>tags</code></p>
</td>
<td>
<p>
Similar to categories, one or multiple tags can be added to a post.
Also like categories, tags can be specified as a YAML list or a
comma-separated string.
</p>
</td>
</tr>
</tbody>
</table>
</div>