{{define "bodyclass"}}page-home{{end}} {{define "content"}} {{$name := or .Site.OwnerName .Site.Title}}
{{- if .Site.AvatarURL}}{{else}}{{initial $name}}{{end -}}

{{$name}}

{{with .Site.Tagline}}

{{.}}

{{end}} {{with .Data}}{{if .Sections}}

{{num .TotalItems}} {{plural .TotalItems "favorite" "favorites"}} across {{.TotalLists}} {{plural .TotalLists "list" "lists"}}

{{end}}{{end}}
{{if .Data.Sections}} {{if gt (len .Data.Sections) 1}} {{end}} {{range .Data.Sections}}
{{icon .Category.Icon}}

{{.List.Title}}

{{with .List.Description}}

{{.}}

{{end}}
{{if .More}}All {{num .List.ItemCount}}{{else}}Open{{end}}{{icon "arrow-right"}}
{{if .Items}}{{template "ranked" (dict "Items" .Items "Category" .Category "Style" .List.Layout "Title" .List.Title "AllLink" (and (gt .More 0) (print "/l/" .List.Slug)) "Total" .List.ItemCount)}}{{end}}
{{end}} {{else}}
{{icon "deck"}}

Nothing ranked yet

This collection is still being curated. Check back soon.

{{if .LoggedIn}}{{icon "plus"}}Start a list{{end}}
{{end}} {{end}} {{define "scripts"}}{{end}}