{{ if (and .image .icon) }} {{ errorf "card: don't use both image and icon: %s" . }} {{ end }}