{{ $only_file := .only_file | default false }} {{ $with_modal := and (not $only_file) .paper.Params.abstract }} {{ $modalId := printf "modal-%s" .paper.Slug }} {{ with .paper }}