Files
FixIt/layouts/_partials/function/xml-content.html
T

16 lines
451 B
HTML

{{- $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 -}}