{{- /* Checkbox unchecked */ -}} {{- $old := `` -}} {{- $new := dict "Class" "fa-regular fa-square fa-fw" | partial "plugin/icon.html" -}} {{- $content := replace . $old $new -}} {{- /* Checkbox checked */ -}} {{- $old = `` -}} {{- $new := dict "Class" "fa-regular fa-check-square fa-fw" | partial "plugin/icon.html" -}} {{- return replace $content $old $new -}}