Files
2026-11-04 05:10:46 -08:00

25 lines
986 B
HTML

<!doctype html>
<html lang="en">
<head>
{{template "head" .}}
<link rel="preload" href="{{.IndexURL}}" as="fetch" crossorigin>
</head>
<body class="index-page" data-page="index"{{template "body-data" .}}>
<a class="skip-link" href="#strips">Skip to albums</a>
<header class="site-header">
<a class="wordmark" href="/" aria-label="Lucio, all albums"><span class="wordmark-text">Lucio</span></a>
</header>
<main id="strips" class="strips" tabindex="-1">
<h1 class="visually-hidden">Photos by Lucio</h1>
{{- range .Albums}}
<a class="strip" href="/a/{{.Slug}}/" data-slug="{{.Slug}}">
<span class="strip-text">{{if .Date}}<span class="strip-eyebrow">{{.Date}}</span>{{end}}<span class="strip-title"{{with lang .Title}} lang="{{.}}"{{end}}>{{.Title}}</span>{{if .Subtitle}}<span class="strip-subtitle"{{with lang .Subtitle}} lang="{{.}}"{{end}}>{{.Subtitle}}</span>{{end}}</span>
</a>
{{- else}}
<p class="empty">No albums yet.</p>
{{- end}}
</main>
{{template "footer" .}}
</body>
</html>