From 1a7bcb09f648b26bad6a39e89c8e564f4786b9f9 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Mon, 28 Aug 2017 21:00:44 +0200 Subject: [PATCH] Docs: post's date can be overriden in YAML front matter (#6334) Merge pull request 6334 --- docs/_docs/permalinks.md | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/docs/_docs/permalinks.md b/docs/_docs/permalinks.md index f0e16770..42e68e85 100644 --- a/docs/_docs/permalinks.md +++ b/docs/_docs/permalinks.md @@ -66,7 +66,10 @@ The following table lists the template variables available for permalinks. You c

year

-

Year from the post's filename

+

+ Year from the post's filename. May be overridden via the document’s + date YAML front matter +

@@ -74,7 +77,10 @@ The following table lists the template variables available for permalinks. You c

month

-

Month from the post's filename

+

+ Month from the post's filename. May be overridden via the document’s + date YAML front matter +

@@ -82,7 +88,10 @@ The following table lists the template variables available for permalinks. You c

i_month

-

Month from the post's filename without leading zeros.

+

+ Month without leading zeros from the post's filename. May be + overridden via the document’s date YAML front matter +

@@ -90,7 +99,10 @@ The following table lists the template variables available for permalinks. You c

day

-

Day from the post's filename

+

+ Day from the post's filename. May be overridden via the document’s + date YAML front matter +

@@ -98,7 +110,10 @@ The following table lists the template variables available for permalinks. You c

i_day

-

Day from the post's filename without leading zeros.

+

+ Day without leading zeros from the post's filename. May be overridden + via the document’s date YAML front matter +

@@ -106,7 +121,10 @@ The following table lists the template variables available for permalinks. You c

short_year

-

Year from the post's filename without the century.

+

+ Year without the century from the post's filename. May be overridden + via the document’s date YAML front matter +

@@ -115,7 +133,8 @@ The following table lists the template variables available for permalinks. You c

- Hour of the day, 24-hour clock, zero-padded from the post's date front matter. (00..23) + Hour of the day, 24-hour clock, zero-padded from the post's + date front matter. (00..23)