{{- /* remove whitespace */ -}} {{- if .Get "href" -}} {{- template "book-card-content" . -}} {{- else -}}
{{- template "book-card-content" . -}}
{{- end -}} {{- define "book-card-content" -}} {{- with .Get "image" -}} {{- end }}
{{ with .InnerDeindent }}{{ . }}{{ end }}
{{- end -}} {{- /* remove whitespace */ -}}