{{ $mdFile := .OriginalReq.URL.Path | trimPrefix "/docs" }} {{ $md := (include $mdFile | splitFrontMatter) }}