{{- if not ($.Page.Scratch.Get "embed-pdf-count") -}} {{- end -}} {{- $.Page.Scratch.Add "embed-pdf-count" 1 -}}