Permalinks

When specifying permalink for a page it is possible to use :digest to insert a message digest (MD5 hash) of the generated content. For example to make sure your CSS file gets a new URL if any changes are made, use the following front matter:

---
permalink: /:path/:basename-:digest:output_ext
layout: none
---
...

If your file is named css/site.css the URL will be something like css/site-d41d8cd98f00b204e9800998ecf8427e.css.

Permalink variables can be surrounded by braces to avoid ambiguities, for example: {:year}_{:month}_{:day}_{:title}.