From a9b6fa984202be81d1ac4684fc51b1876962f3b8 Mon Sep 17 00:00:00 2001 From: OmarEmaraDev Date: Wed, 24 Jun 2020 12:05:34 +0200 Subject: [PATCH] Clarify weight description. --- content/en/content-management/front-matter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/content-management/front-matter.md b/content/en/content-management/front-matter.md index 8cd94defb..a14cb3065 100644 --- a/content/en/content-management/front-matter.md +++ b/content/en/content-management/front-matter.md @@ -135,7 +135,7 @@ videos : an array of paths to videos related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:video`. weight -: used for [ordering your content in lists][ordering]. Lower weight gets higher precedence. So content with lower weight will come first. Weights should start at 1, as 0 is interpreted as an *unset* weight. +: used for [ordering your content in lists][ordering]. Lower weight gets higher precedence. So content with lower weight will come first. If set, weights should be non-zero, as 0 is interpreted as an *unset* weight. \ : field name of the *plural* form of the index. See `tags` and `categories` in the above front matter examples. _Note that the plural form of user-defined taxonomies cannot be the same as any of the predefined front matter variables._