diff --git a/layouts/index.html b/layouts/index.html index 1e92ce4..8e25674 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,24 +1,81 @@ {{ define "main" }} -
-
- № {{ .Site.Params.issueNumber }} · {{ .Site.Params.issueSeason }} · - View all issues +{{- $issueNum := .Site.Params.issueNumber }} +{{- $issuePage := $.Site.GetPage (printf "/issues/%s" $issueNum) }} +{{- $plates := cond (ne $issuePage nil) $issuePage.Pages .Site.RegularPages }} +{{- $total := len $plates }} + +{{/* ── Hero ── */}} +
+ + {{/* Left: brand statement */}} +
+
+ № {{ $issueNum }} · {{ .Site.Params.issueSeason }} +
+

+ {{- if $issuePage }}{{ $issuePage.Title }}{{ else }}{{ .Site.Params.issueName }}{{ end }} +

+

+ {{- if $issuePage }}{{ $issuePage.Params.description }}{{ else }}{{ .Site.Params.issueBlurb }}{{ end }} +

+ +
+ + {{/* Divider */}} +
+ + {{/* Right: issue identity */}} +
+ {{- partial "logo.html" . }} +
+ {{- if $issuePage }}{{ $issuePage.Params.season }}{{ else }}{{ .Site.Params.issueSeason }}{{ end }} +
+
+ {{ $total }} plates +
-

- An almanac
of fabric, light,
and gesture. -

-

- Roux is a slow-publishing fashion journal — one hundred photographs at a time, - gathered from ateliers, streets, glasshouses and quiet hotel corridors. - You are reading {{ .Site.Params.issueName }}, our № {{ .Site.Params.issueNumber }} issue. -

-
- {{- $posts := where .Site.RegularPages "Section" "posts" }} - {{- range $i, $p := $posts }} +{{/* ── Plate preview ── */}} +
+ {{- range $i, $p := first 8 $plates }} {{- partial "card.html" (dict "Page" $p "Index" $i) }} {{- end }}
+ +{{/* ── CTA strip ── */}} +
+

+ One hundred plates — fabric, light, and the human form in motion. +

+ + View all {{ $total }} plates → + +
{{ end }}