This is the big site redesign by @cobyism. To work with the new site deployment mechanism, it is being copied from the gh-pages branch of that PR into the existing site dir. Before we finally deploy the new site, we should remember to merge #583 so that we keep all the history from that PR.
3.3 KiB
layout, title, prev_section, next_section
| layout | title | prev_section | next_section |
|---|---|---|---|
| docs | Permalinks | templates | pagination |
Jekyll supports a flexible way to build your site’s URLs. You can
specify the permalinks for your site through the Configuration or on the YAML Front Matter 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 always date.
Template variables
| Variable | Description |
|---|---|
|
|
Year from the post’s filename |
|
|
Month from the post’s filename |
|
|
Day from the post’s filename |
|
|
Title from the post’s filename |
|
|
The specified categories for this post. Jekyll automatically parses out double slashes in the URLs, so if no categories are present, it basically ignores this. |
|
|
Month from the post’s filename without leading zeros. |
|
|
Day from the post’s filename without leading zeros. |
Built-in permalink styles
| Permalink Style | URL Template |
|---|---|
|
|
|
|
|
|
|
|
|
Permalink style examples
Given a post named: /2009-04-29-slap-chop.textile
| Permalink Setting | Resulting Permalink URL |
|---|---|
|
None specified, or |
|
|
|
|
|
|
|
|
|
|