From 6de1ad4cdc8b1fb10cf0a5c61d5ed03893f131c1 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 5 Aug 2022 18:06:20 +0200 Subject: Show related content --- scripts/metadata.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/metadata.lua') diff --git a/scripts/metadata.lua b/scripts/metadata.lua index d0a4f45..49a9c55 100644 --- a/scripts/metadata.lua +++ b/scripts/metadata.lua @@ -84,12 +84,10 @@ 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() meta.pages = { all = pages_all, date_desc = pages_date_desc, - random = pages_random, by_id = meta.pages } end @@ -167,8 +165,6 @@ function process(global, build, meta) end function Meta(meta) - math.randomseed(os.time()) - local build = {} for key, value in pairs(meta) do -- cgit v1.2.3-70-g09d2