diff options
author | Volpeon <git@volpeon.ink> | 2021-03-12 18:37:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-12 18:37:38 +0100 |
commit | 8990aed5ea6449ec24ce1c79590b8911b1699fc3 (patch) | |
tree | c1aabb3823baf725d1cc3ba4e2b2578f2d830886 /scripts | |
parent | Remove explicit ports from IRC links (diff) | |
download | volpeon.ink-8990aed5ea6449ec24ce1c79590b8911b1699fc3.tar.gz volpeon.ink-8990aed5ea6449ec24ce1c79590b8911b1699fc3.tar.bz2 volpeon.ink-8990aed5ea6449ec24ce1c79590b8911b1699fc3.zip |
Created project pages for blobfox and bunhd emojis
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/metadata_filter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
201 | local pages_categorized = pages:filter( | 201 | local pages_categorized = pages:filter( |
202 | function(p) return p.category ~= nil end) | 202 | function(p) return p.category ~= nil end) |
203 | pages_categorized:sort(function(p1, p2) | 203 | pages_categorized:sort(function(p1, p2) |
204 | return pandoc.utils.stringify(p1.title) > | 204 | return pandoc.utils.stringify(p1.title) < |
205 | pandoc.utils.stringify(p2.title) | 205 | pandoc.utils.stringify(p2.title) |
206 | end) | 206 | end) |
207 | 207 | ||
@@ -218,7 +218,7 @@ function organize_subpages(site_url, output_dir, ref_file, pages) | |||
218 | end) | 218 | end) |
219 | pages_by_category = pandoc.MetaList(table_to_list(pages_by_category, | 219 | pages_by_category = pandoc.MetaList(table_to_list(pages_by_category, |
220 | function(i1, i2) | 220 | function(i1, i2) |
221 | return i1.key > i2.key | 221 | return i1.key < i2.key |
222 | end)) | 222 | end)) |
223 | 223 | ||
224 | local pages_data = pandoc.MetaMap({ | 224 | local pages_data = pandoc.MetaMap({ |