{{ 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" }} {{- if $isCurrent }} {{- else if $isForth }}
{{- else }} {{- end }}
{{- if $isForth }}
Forthcoming
{{- else }} {{/* Use first post image as cover */}} {{- $posts := where $.Site.RegularPages "Section" "posts" }} {{- $first := index $posts 0 }} {{- if $first }} {{- $img := $first.Resources.GetMatch "*.png" }} {{- if $img }} {{- $cover := $img.Resize "480x720 webp" }} Issue {{ $iss.number }} cover {{- end }} {{- end }} {{- end }}
{{ $iss.number }}

{{ $iss.title | replaceRE `^(.+)$` "$1" }}

{{ $iss.blurb }}

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