| 1 |
--- |
| 2 |
title: token |
| 3 |
--- |
| 4 |
|
| 5 |
A _token_ is an identifier within a format string, beginning with a colon and replaced with a value when rendered. Use tokens when: |
| 6 |
|
| 7 |
- Configuring [file caches][], [front matter][], and [permalinks][] |
| 8 |
- Localizing [dates][] |
| 9 |
- Setting the [`url`][] in front matter |
| 10 |
|
| 11 |
[`url`]: /content-management/urls/#tokens |
| 12 |
[dates]: /functions/time/format/#localization |
| 13 |
[file caches]: /configuration/caches/#tokens |
| 14 |
[front matter]: /configuration/front-matter/#tokens |
| 15 |
[permalinks]: /configuration/permalinks/#tokens |