ERROR
TypeError: C:\Users\ASUS\github page\FuseFairy.github.io\themes\particlex\layout\categories.ejs:5
3| <div class="categories-tags">
4| <% let prev; %>
>> 5| <% site.categories.data.forEach(category => { %>
6| <%
7| const colors = is_category(category.name)
8| ? ["linear-gradient(120deg, #9abbf7 0%, #ffbbf4 100%)"]
site.categories.data.forEach is not a function
at eval (eval at compile (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\ejs\lib\ejs.js:673:12), <anonymous>:18:29)
at categories (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\ejs\lib\ejs.js:703:17)
at _View._compiled (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\hexo\dist\theme\view.js:125:67)
at _View.render (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\hexo\dist\theme\view.js:50:21)
at C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\hexo\dist\hexo\index.js:58:29
at tryCatcher (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\bluebird\js\release\util.js:16:23)
at C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (C:\Users\ASUS\github page\FuseFairy.github.io\node_modules\hexo\dist\hexo\router.js:43:9)
at Readable.read (node:internal/streams/readable:547:12)
at resume_ (node:internal/streams/readable:1048:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
配置标签会出现下错误,已完全按照教学去设置category和tag,但这2个页面依然没法正常显示,谢谢。