Skip to content

在butterfly主题中执行Hexo net出错 #1

@panyongkang

Description

@panyongkang

错误代码如下:
INFO // tagsnet // 92 nodes have been loaded in 50 ms
Unhandled rejection TypeError: E:\MyBlog\blog\Hexo\themes\Butterfly\layout\post.pug:10
8| if (theme.post_meta.post.tags)
9| .post-meta__tag-list

10| each item, index in page.tags.data
11| a(href=url_for(item.path)).post-meta__tags #[=item.name]
12| !=partial('includes/share/index', {}, {cache:theme.fragment_cache})
13|

Cannot read property 'data' of undefined
请问大佬是什么原因?我怀疑是路径设置不对,但怎么改都不对

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions