From 1f01c88fa05eb644a0546aff087f006429e9eb97 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 5 Jun 2016 16:02:01 -0700 Subject: [PATCH] templates docs: .category, .categories, and .tags only apply to posts. [ci skip] Fixes #4987. --- site/_docs/frontmatter.md | 64 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/site/_docs/frontmatter.md b/site/_docs/frontmatter.md index 755f0bc6..faf67b73 100644 --- a/site/_docs/frontmatter.md +++ b/site/_docs/frontmatter.md @@ -96,38 +96,6 @@ front matter of a page or post.

- - -

category

-

categories

- - -

- - 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 YAML list or a - comma-separated string. - -

- - - - -

tags

- - -

- - 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. - -

- - @@ -176,6 +144,38 @@ These are available out-of-the-box to be used in the front matter for a post.

+ + +

category

+

categories

+ + +

+ + 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 YAML list or a + comma-separated string. + +

+ + + + +

tags

+ + +

+ + 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. + +

+ +