{{ define "main" }} {{- $issues := .Site.Data.issues }}
Archive · Every issue

The issues

Roux publishes one hundred photographs at a time, once a season. Each issue is a complete thing.

{{- range $i, $iss := $issues }} {{- $delay := mul $i 80 }} {{- $isCurrent := eq $iss.status "current" }} {{- $isForth := eq $iss.status "forthcoming" }} {{- $issueURL := printf "/issues/%s/" $iss.id }} {{- if $isForth }}
{{- else }} {{- end }}
{{- if $isForth }}
Forthcoming
{{- else }} {{- $termPage := $.Site.GetPage (printf "/issues/%s" $iss.id) }} {{- $firstPost := cond (ne $termPage nil) (index $termPage.Pages 0) nil }} {{- if $firstPost }} {{- $img := $firstPost.Resources.GetMatch "*.png" }} {{- if $img }} {{- $cover := $img.Resize "480x720 webp" }} Issue {{ $iss.number }} cover {{- end }} {{- end }} {{- end }}
{{ $iss.number }}

{{ $iss.title }}

{{ $iss.blurb }}

{{ $iss.season }} {{- if $isCurrent }} Read the issue → {{- else if $isForth }} Subscribe → {{- end }}
{{- if $isForth }}
{{- else }}{{- end }} {{- end }}
{{ end }}