{{ $model := . }} {{- $includeReferences := true -}} {{- $includeAnnotations := true -}} {{- $includeTitle := true -}} {{- if eq $model.type "reihen" -}} {{- if $model.options -}} {{- $includeReferences = not (and $model.q (not (index $model.options "references"))) -}} {{- $includeAnnotations = not (and $model.q (not (index $model.options "annotations"))) -}} {{- $includeTitle = not (and $model.q (not (index $model.options "title"))) -}} {{- end -}} {{- end -}}