templates docs: .category, .categories, and .tags only apply to posts. [ci skip]
Fixes #4987.
This commit is contained in:
parent
688c7b1925
commit
1f01c88fa0
|
@ -96,38 +96,6 @@ front matter of a page or post.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -176,6 +144,38 @@ These are available out-of-the-box to be used in the front matter for a post.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue