{{- $content := .Content -}}

{{- if $content -}}

  {{- $content = dict "Content" .Content "Ruby" .Ruby "Fraction" .Fraction "Fontawesome" .Fontawesome | partial "function/content.html" }}

  {{- with .FeaturedImage }}
    {{- $content = add (printf "<img src=%q alt=%q referrerpolicy=%q>" . "featured image" "no-referrer") $content }}
  {{- end }}

  {{- $content = $content | transform.XMLEscape | safeHTML -}}

{{- end }}

{{- return $content -}}
