-
Notifications
You must be signed in to change notification settings - Fork 334
post.categories.map is not a function #290
Comments
TypeError: /Users/zhaoqi/blog/themes/hueman/layout/page.ejs:1
/Users/zhaoqi/blog/themes/hueman/layout/common/article.ejs:28
/Users/zhaoqi/blog/themes/hueman/layout/common/post/ld_json.ejs:12
post.categories.map is not a function |
@CrazyGriferman What's the front-matter of your post markdown file? |
ERROR /Users/zhaoqi/blog/themes/hueman/layout/page.ejs:1
/Users/zhaoqi/blog/themes/hueman/layout/common/article.ejs:28
26|
27|
/Users/zhaoqi/blog/themes/hueman/layout/common/post/ld_json.ejs:12
10| "image": "<%- url_for(config.url + thumbnail(post)) %>",
11| <% if (post.tags) { %>"keywords": "<%- post.tags.map(t => t.name).join(' ') %>",<% } %>
post.categories.map is not a function
Did anyone meet this problem? It doesn't affect the site but it's annoying.
The text was updated successfully, but these errors were encountered: