From 8990aed5ea6449ec24ce1c79590b8911b1699fc3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 12 Mar 2021 18:37:38 +0100 Subject: Created project pages for blobfox and bunhd emojis --- scripts/metadata_filter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index cd0c2f7..8982d5a 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua @@ -201,7 +201,7 @@ function organize_subpages(site_url, output_dir, ref_file, pages) local pages_categorized = pages:filter( function(p) return p.category ~= nil end) pages_categorized:sort(function(p1, p2) - return pandoc.utils.stringify(p1.title) > + return pandoc.utils.stringify(p1.title) < pandoc.utils.stringify(p2.title) end) @@ -218,7 +218,7 @@ function organize_subpages(site_url, output_dir, ref_file, pages) end) pages_by_category = pandoc.MetaList(table_to_list(pages_by_category, function(i1, i2) - return i1.key > i2.key + return i1.key < i2.key end)) local pages_data = pandoc.MetaMap({ -- cgit v1.2.3-70-g09d2