{{ define "metaTitle" }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }} {{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ {{ .Site.Params.author.name }}'s Handpicked Albums Collection{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }} {{ if (not $paginator.HasPrev) }} {{ end }} {{ end }} {{ define "main" }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}
{{ if and .IsHome (not $paginator.HasPrev) }}

Handpicked Albums

A collection by {{ .Site.Params.author.name }}

{{ else }}

Albums Page {{ $paginator.PageNumber }}

{{ end }}
{{ range $albumIndex, $album := sort $paginator.Pages "Date" "desc" }} {{ $original := resources.Get .Params.cover }} {{ $originalPermalink := $original.Permalink }} {{ $cover := $original.Resize "x320 webp" }} {{ $coverBackup := $original.Resize "x320 jpeg q69" }} {{ $cover2x := $original.Resize "x640 webp" }} {{ $cover2xBackup := $original.Resize "x640 jpeg q69" }} {{ $placeholder := $cover.Resize "x1 png" }} {{ end }}
{{ partial "pagination" . }}
{{ if and (not $paginator.HasPrev) (eq .Site.Params.author.name .Site.Params.creator.name) }}

About

At {{ .Site.Params.author.name }} we love music, I mean we LOVE music! And we also LOVE great album covers. So we decided to make a place where we can showcase albums dear to us.

This is Now Playing, our little favorite albums collection.

{{ end }}
{{ end }}