Docs: post's date can be overriden in YAML front matter (#6334)

Merge pull request 6334
This commit is contained in:
Frank Taillandier 2017-08-28 21:00:44 +02:00 committed by jekyllbot
parent 709a3444de
commit 1a7bcb09f6
1 changed files with 26 additions and 7 deletions

View File

@ -66,7 +66,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>year</code></p> <p><code>year</code></p>
</td> </td>
<td> <td>
<p>Year from the post's filename</p> <p>
Year from the post's filename. May be overridden via the documents
<code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -74,7 +77,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>month</code></p> <p><code>month</code></p>
</td> </td>
<td> <td>
<p>Month from the post's filename</p> <p>
Month from the post's filename. May be overridden via the documents
<code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -82,7 +88,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>i_month</code></p> <p><code>i_month</code></p>
</td> </td>
<td> <td>
<p>Month from the post's filename without leading zeros.</p> <p>
Month without leading zeros from the post's filename. May be
overridden via the documents <code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -90,7 +99,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>day</code></p> <p><code>day</code></p>
</td> </td>
<td> <td>
<p>Day from the post's filename</p> <p>
Day from the post's filename. May be overridden via the documents
<code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -98,7 +110,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>i_day</code></p> <p><code>i_day</code></p>
</td> </td>
<td> <td>
<p>Day from the post's filename without leading zeros.</p> <p>
Day without leading zeros from the post's filename. May be overridden
via the documents <code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -106,7 +121,10 @@ The following table lists the template variables available for permalinks. You c
<p><code>short_year</code></p> <p><code>short_year</code></p>
</td> </td>
<td> <td>
<p>Year from the post's filename without the century.</p> <p>
Year without the century from the post's filename. May be overridden
via the documents <code>date</code> YAML front matter
</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -115,7 +133,8 @@ The following table lists the template variables available for permalinks. You c
</td> </td>
<td> <td>
<p> <p>
Hour of the day, 24-hour clock, zero-padded from the post's <code>date</code> front matter. (00..23) Hour of the day, 24-hour clock, zero-padded from the post's
<code>date</code> front matter. (00..23)
</p> </p>
</td> </td>
</tr> </tr>