Is there any way to include a markdown file via a short code, but ignore the front-matter?
My shortcode is ‘layouts/shortcodes/include-md’:
<div>
{{$file := .Get 0}}
{{ $file | readFile | markdownify }}
</div>
Currently if the markdown file has front-matter then it will be rendered. I’d rather the front-matter was ignored. Part of the reason for needing the front-matter is that we need a ‘title’ entry, so that Netlify displays it in the content list view.