summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-08-04 12:13:15 +0200
committerVolpeon <git@volpeon.ink>2022-08-04 12:13:15 +0200
commit9d6d606ce7b0adcdcbc05fd0e7d82238db13388d (patch)
tree081212ecfcc158bb9d01fe8f98fe098e00bf0177
parentShow page date depending on list layout (diff)
downloadvolpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.tar.gz
volpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.tar.bz2
volpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.zip
Update
-rw-r--r--scripts/page.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/page.lua b/scripts/page.lua
index 3f77464..417e4a0 100644
--- a/scripts/page.lua
+++ b/scripts/page.lua
@@ -41,8 +41,8 @@ function process_pages(global, build, meta)
41 end 41 end
42 42
43 meta.pages = { 43 meta.pages = {
44 all = meta.pages.all:map(utils.stringify):map(function (ref) return meta.pages.by_id[ref] end), 44 all = meta.pages.all:map(function (ref) return meta.pages.by_id[utils.stringify(ref)] end),
45 date_desc = meta.pages.date_desc:map(utils.stringify):map(function (ref) return meta.pages.by_id[ref] end), 45 date_desc = meta.pages.date_desc:map(function (ref) return meta.pages.by_id[utils.stringify(ref)] end),
46 by_id = meta.pages.by_id 46 by_id = meta.pages.by_id
47 } 47 }
48end 48end