From 8695c75034f176ad53590ecb80edd4a125dab5a6 Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Wed, 6 Jun 2018 12:29:33 -0400 Subject: [PATCH] WIP: content ordering by name --- layouts/partials/records/thumbnail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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