diff options
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 |