From 32a46a5a487bcb14924b1c55cd26d29d2902a030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 18 May 2026 18:24:54 +0200 Subject: [PATCH] Redesign homepage as current-issue landing page Replace full plate grid with issue identity hero (title, season, description, logo), 8-plate preview, and CTA strip linking to the full issue. All data is derived from the issues/01 taxonomy term page so the page stays in sync when the issue changes. Co-Authored-By: Claude Sonnet 4.6 --- layouts/index.html | 89 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 73 insertions(+), 16 deletions(-) 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 }}