q $k "page" }}
  {{- else if eq $k "attributes" }}
    {{- $attributes = $v }}
  {{- else if eq $k "content" }}
    {{- $content = trim $v "\n\r" }}
  {{- else if eq $k "options" }}
    {{- if eq (printf "%T" $v) "string" }}
      {{- range (split $v ",") }}
        {{- $pair := split . "=" }}
        {{- $options = $options | merge (dict (index $pair 0) (index $pair 1)) }}
      {{- end }}
    {{- else }}
      {{- $options = $v }}
    {{- end }}
  {{- else if eq $k "type" }}
    {{- $type = $v }}
  {{- el