diff options
author | Volpeon <git@volpeon.ink> | 2022-08-04 12:13:15 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-08-04 12:13:15 +0200 |
commit | 9d6d606ce7b0adcdcbc05fd0e7d82238db13388d (patch) | |
tree | 081212ecfcc158bb9d01fe8f98fe098e00bf0177 /scripts | |
parent | Show page date depending on list layout (diff) | |
download | volpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.tar.gz volpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.tar.bz2 volpeon.ink-9d6d606ce7b0adcdcbc05fd0e7d82238db13388d.zip |
Update
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/page.lua | 4 |
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 | } |
48 | end | 48 | end |