{{ define "main" }} {{- $issue := index (.Params.issues | default (slice "01")) 0 }} {{- $issueURL := printf "/issues/%s/" $issue }}
№ {{ $issue }} · {{ index (.Params.categories | default (slice "Plate")) 0 }}

{{ .Title }}

{{ .Params.description }} Return to issue →

{{- $termPage := $.Site.GetPage (printf "/issues/%s" $issue) }} {{- $posts := cond (ne $termPage nil) $termPage.Pages .Site.RegularPages }} {{- range $i, $p := $posts }} {{- $img := $p.Resources.GetMatch "*.png" }}
{{- if $img }} {{- $w := $img.Resize "600x900 webp" }} {{ $p.Title }} {{- end }} PLATE №{{ $p.Params.plate }} {{ index ($p.Params.categories | default (slice "")) 0 }} № {{ index ($p.Params.issues | default (slice "01")) 0 }}

{{ $p.Title }}

{{ index ($p.Params.categories | default (slice "")) 0 }}

{{ $p.Params.description }}

{{- end }}
{{/* Tell JS which slug to open in the lightbox */}} {{ end }}