Use .RelPermalink here: https://github.com/kaihendry/netlify-cms-testing/blob/master/layouts/index.html#L15
.RelPermalink