Add clarity to docs on permalinks placeholders and builtins (#8995)

Merge pull request 8995
This commit is contained in:
Emily Grace Seville 2022-04-09 00:22:29 +10:00 committed by GitHub
parent 1cde234d41
commit 64dbf46a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -278,6 +278,14 @@ Here's the full list of placeholders available:
</p> </p>
</td> </td>
</tr> </tr>
<tr>
<td>
<p><code>:output_ext</code></p>
</td>
<td>
<p>Extension of the output file. (Included by default and usually unnecessary.)</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -325,7 +333,10 @@ For posts, Jekyll also provides the following built-in styles for convenience:
<small>{% include docs_version_badge.html version="4.0" %}</small> <small>{% include docs_version_badge.html version="4.0" %}</small>
</td> </td>
<td> <td>
<p><code>/:categories/:year/W:week/:short_day/:title:output_ext</code></p> <p>
<code>/:categories/:year/W:week/:short_day/:title:output_ext</code><br/>
<small>(<code>W</code> will be prefixed to the value of <code>:week</code>)</small>
</p>
</td> </td>
</tr> </tr>
<tr> <tr>