Files

14 lines
321 B
HTML

{{/* section
label: Text
about: A heading and some writing.
fields:
- { name: heading, type: text }
- { name: body, type: markdown }
*/}}
<section class="block">
<div class="wrap prose">
{{ with .Data.heading }}<h2>{{ . }}</h2>{{ end }}
{{ with .Data.body }}{{ markdownify . }}{{ end }}
</div>
</section>