mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
766 B
20 lines
766 B
6 years ago
|
|
||
|
|
||
|
| **Input** | **Result** |
|
||
|
|--------------|------------|
|
||
|
|`page.title` | {{ page.title }} |
|
||
|
|`page.url` | {{ page.url }} |
|
||
|
|`page.date` | {{ page.date }} |
|
||
|
|`page.id` | {{ page.id }} |
|
||
|
|`page.categories` | {{ page.categories }} |
|
||
|
|`page.tags` | {{ page.tags }} |
|
||
|
|`page.path` | {{ page.path }} |
|
||
|
|`page.next` | {{ page.next }} |
|
||
|
|`page.previous` | {{ page.previous }} |
|
||
|
|`page.url | split` | {{ page.url | split: '/'}}
|
||
|
|`page.id | split: '/' | last ` | {{ page.id | split: '/' | last }} |
|
||
|
|`page.id | split: '/' | first ` | {{ page.id | split: '/' | first }} |
|
||
|
|`page.id | split: '/' | 2 ` | {{ page.id | split: '/' | first }} |
|
||
|
|`page.path | relative_url` | {{ page.path | relative_url }} |
|
||
|
|`page.path | absolute_url` | {{ page.path | absolute_url }} |
|