diff --git a/layouts/partials/records/thumbnail.html b/layouts/partials/records/thumbnail.html index fff8eb5..4df0c32 100644 --- a/layouts/partials/records/thumbnail.html +++ b/layouts/partials/records/thumbnail.html @@ -13,7 +13,7 @@

{{ $context.Summary }}

- {{ $records := where .global.Data.Pages "Section" .type }} + {{ $records := (where .global.Data.Pages "Section" .type).ByParam "name" }} {{ if gt (len $records ) 0 }}
    {{ if eq .level "root" }} @@ -42,4 +42,4 @@

    {{ $context.Summary }}

- + \ No newline at end of file