From fcbb697dc92c3368089f0d1cae3ef348f77257b6 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 5 Aug 2022 06:51:52 +0200 Subject: Prune parents and subpages --- scripts/metadata.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/metadata.lua') diff --git a/scripts/metadata.lua b/scripts/metadata.lua index 42bf71c..5d372fc 100644 --- a/scripts/metadata.lua +++ b/scripts/metadata.lua @@ -84,12 +84,12 @@ function process_pages(meta) pages_all:sort(sort.page_sort(meta.list_order, meta.pages)) pages_date_desc:sort(sort.page_sort("date_desc", meta.pages)) - --local pages_random = pages_all:clone():shuffle() + local pages_random = pages_all:clone():shuffle() meta.pages = { all = pages_all, date_desc = pages_date_desc, - --random = pages_random, + random = pages_random, by_id = meta.pages } end -- cgit v1.2.3-70-g09d2