{{ define "styles" }} {{ $author := partial "author-user.html" . }} {{ end }} {{ define "middle" }} {{ partial "navigator-middle.html" (dict "Title" "Likes" "Subtitle" (partial "count-likes.html" .) "Icon" "arrow-left" "IconLabel" "Back" "Href" "/" "Id" "back" "Context" . ) }} {{ partial "profile.html" . }} {{- $author := partial "author-user.html" . -}} {{- $users := where .Site.RegularPages "Section" $author -}} {{- $likes := where .Site.RegularPages ".Params.liked" true -}} {{- $filteredPages := $users | intersect $likes -}} {{- $paginator := .Paginate $filteredPages }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ else }} {{ end }} {{ partial "pagination.html" . }} {{ end }} {{ define "right" }} {{- partial "navigator-right.html" . -}} {{ end }}