{{ if not ($.Page.Scratch.Get "photoswipeloaded") }} {{ $.Page.Scratch.Set "photoswipeloaded" 1 }} {{ if .Site.Params.CDNJS }} {{- else -}} {{ end }}