{{ $content := os.ReadFile ( .Get "contentPath" ) }} {{ $format := .Get "format" | default "raw" }} {{ with $format }} {{ if eq . "raw" }} {{ $content | markdownify }} {{ else if eq . "code" }} {{ $content | markdownify }} {{ end }} {{ end }}