--- layout: docs title: Permalinks permalink: /docs/permalinks/ --- Jekyll supports a flexible way to build your site’s URLs. You can specify the permalinks for your site through the [Configuration](../configuration/) or in the [YAML Front Matter](../frontmatter/) for each post. You’re free to choose one of the built-in styles to create your links or craft your own. The default style is `date`. Permalinks are constructed by creating a template URL where dynamic elements are represented by colon-prefixed keywords. For example, the default `date` permalink is defined according to the format `/:categories/:year/:month/:day/:title.html`. ## Template variables
| Variable | Description | 
|---|---|
| 
 | Year from the Post’s filename | 
| 
 | Month from the Post’s filename | 
| 
 | Month from the Post’s filename without leading zeros. | 
| 
 | Day from the Post’s filename | 
| 
 | Day from the Post’s filename without leading zeros. | 
| 
 | Year from the Post’s filename without the century. | 
| 
 | Hour of the day, 24-hour clock, zero-padded from the Post’s filename. (00..23) | 
| 
 | Minute of the hour from the Post’s filename. (00..59) | 
| 
 | Second of the minute from the Post’s filename. (00..60) | 
| 
 | 
            Title from the document’s filename. May be overridden via
            the document’s  | 
| 
 | 
            Slugified title from the document’s filename ( any character
            except numbers and letters is replaced as hyphen ). May be
            overridden via the document’s  | 
| 
 | 
          The specified categories for this Post. If a post has multiple
          categories, Jekyll will create a hierarchy (e.g.  | 
| Permalink Style | URL Template | 
|---|---|
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| URL Template | Resulting Permalink URL | 
|---|---|
| None specified, or  | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 See extensionless permalinks for details. | 
 |