{{ define "photosummary" }}
{{ if gt .Data.Priority 0 }}

📌 {{ string .Blog.Lang "pinned" }}

{{ end }} {{ if p .Data "title" }}

{{ p .Data "title" }}

{{ end }} {{ include "summarymeta" . }} {{ range $i, $photo := ( ps .Data .Blog.Photos.Parameter ) }} {{ md ( printf "![](%s)" $photo ) }} {{ end }}

{{ summary .Data }}

{{ if (hasp .Data "images") }}🖼️ {{ end }}{{ string .Blog.Lang "view" }}

{{ end }}