{{ $ := .root }} {{ $page := .page }}
{{ with $page.Title }}

{{ . | markdownify | emojify }}

{{ if $page.Params.subtitle }}

{{ $page.Params.subtitle | markdownify | emojify }}

{{ end }}
{{ end }} {{ with $page.Content }}
{{ . }}
{{ end }} {{ range $page.Params.feature }} {{ $pack := or .icon_pack "fas" }} {{ $pack_prefix := $pack }} {{ if in (slice "fab" "fas" "far" "fal") $pack }} {{ $pack_prefix = "fa" }} {{ end }}
{{ with .icon }}
{{- if eq $pack "emoji" -}} {{- . | emojify -}} {{- else if eq $pack "custom" -}} {{- $svg_icon := resources.Get (printf "media/icons/%s.svg" .) -}} {{- if $svg_icon -}}{{.}}{{- end -}} {{- else -}} {{- end -}}
{{ end }}
{{ .name | markdownify | emojify }}
{{ with .description }}

{{ . | markdownify | emojify }}

{{ end }}
{{ end }}