Merge pull request #5653 from kimbaudi/patch-1

Merge pull request 5653
This commit is contained in:
jekyllbot 2016-12-11 03:49:39 -08:00 committed by GitHub
commit 360c82c95a
1 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,16 @@ Permalinks are constructed by creating a template URL where dynamic elements
are represented by colon-prefixed keywords. For example, the default `date` are represented by colon-prefixed keywords. For example, the default `date`
permalink is defined according to the format `/:categories/:year/:month/:day/:title.html`. permalink is defined according to the format `/:categories/:year/:month/:day/:title.html`.
<div class="note info">
<h5>Specifying permalinks through the YAML Front Matter</h5>
<p>
Built-in permalink styles are not recognized in YAML Front Matter. So
<code>permalink: pretty</code> will not work, but the equivalent
<code>/:categories/:year/:month/:day/:title/</code>
using template variables will.
</p>
</div>
## Template variables ## Template variables
<div class="mobile-side-scroller"> <div class="mobile-side-scroller">