{{ range $.Params.reveal }}
{{ range $k, $v := . }} {{ if eq $k "main" }} {{ range $v }} {{ range .sub }}
{{ end }} {{ end }} {{ else if eq $k "fragment" }} {{ $result := "" }} {{ range $v }} {{ range .sub }} {{ $result = (print $result "" (. | markdownify) "") }} {{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }}
{{ partial "script/pt-script" . }}