{{- $slug := substr .Name 11 -}} --- slug: {{$slug}} title: "{{ replace $slug "-" " " | title }}" date: "{{now.Format "2006-01-02T15:04:05"}}{{default "Z" .Site.Params.tz}}" draft: true --- Contents of {{$slug}}.