{{- $encryptedPages := slice -}} {{- range .Site.RegularPages -}} {{- if or .Params.password (.Store.Get "hasEncryptor") -}} {{- $encryptedPages = $encryptedPages | append (printf " • %s: %s" .Title .Permalink) -}} {{- end -}} {{- end -}} {{- with $encryptedPages -}} {{- warnf "[FixIt] %s\n%s\n%s" (T "single.encryptionWarning") (delimit . "\n") (T "single.encryptionCommand") -}} {{- end -}}